Plot area not visible after undo/redo
Requirements
-
I searched through the issues if the issue already exists
Steps to reproduce
- Create a new worksheet and add a plot area
- Undo the creation of the plot area and of the worksheet
- Redo twice
Expected
The plot area is shown again, in the project explorer as well as on the worksheet.
Observed
The plot area is in the project explorer, but not on the worksheet. It works, only if the creation of the plot area is undone and redone again but not if the worksheet is also undone.
Labplot Version
Debug build 2.10.0-1697-gdd7e65b7b
Jan 7 2024, 15:30:54
System: openSUSE Leap 15.4
Locale: English,United States (Decimal point '.', Group separator ','
Number settings: Decimal point '.', Group separator ',', Exponential 'e', Zero digit '0', Percent '%', Positive/Negative sign '+'/'-' (Updated on restart)
Architecture: x86_64-little_endian-lp64
Kernel: linux 5.14.21-150400.24.100-default
C++ Compiler: GNU 12.3.0
C++ Compiler Flags: -fno-operator-names -fno-exceptions -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 -Wsuggest-override -Wlogical-op -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
(c) 2007-2024