Ranges not updated in the dock widgets upon undo/redo.
Requirements
-
I searched through the issues if the issue already exists
Steps to reproduce
- Create a plot with two ranges and add a xy-curve (or use the projecmulti-range-bugs.lml
- Change the range in the dock
- Perform undo
Expected
The previously used range should be shown in the combobox upon undo.
Observed
Range is not properly updated in the combobox
Labplot Version
Debug build 2.10.0-806-g417f42311
Sep 2 2023, 10:21:42
System: macOS Ventura (13.5)
Lokalisierung: English,United Kingdom (Dezimalpunkt ',', Tausendertrenner '.'
Zahlenformat: Dezimalpunkt ',', Tausendertrenner '.', Exponentialzeichen 'e', Nullzeichen '0', Prozentzeichen '%', Positiv-/Negativzeichen '+'/'-' (Aktualisiert beim Neustart)
Architektur: x86_64-little_endian-lp64
Kernel: darwin 22.6.0
C++ Compiler: AppleClang 14.0.3.14030022
C++ Compiler Optionen: -fdiagnostics-color=always -fno-operator-names -fno-exceptions -Wno-gnu-zero-variadic-macro-arguments -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Wvla -Wdate-time -D_GNU_SOURCE -Wall -Wextra -Wundef -Wpointer-arith -Wunreachable-code -Wunused -Wdeprecated-declarations -fno-omit-frame-pointer -fstack-protector -fexceptions -std=c++17 -O2 -Wcast-align -Wswitch-enum -fvisibility=default -pedantic -Wzero-as-null-pointer-constant