When curve locked, unable to open context menu of the plot
Requirements
-
I searched through the issues if the issue already exists
Steps to reproduce
- Create Plot with curve
- Lock the curve
- Right click on the curve or also just somewhere in the plot
Expected
The context menu of the plot will be opened
Observed
No context menu will be opened
Labplot Version
Debug build 2.10.0-1418-gf856eca3d
Nov 24 2023, 21:47:20
System: Manjaro Linux
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.15.133-1-MANJARO
C++ Compiler: GNU 13.2.1
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 -fdiagnostics-color=always -Wall -Wextra -Wundef -Wpointer-arith -Wunreachable-code -Wunused -Wdeprecated-declarations -fno-omit-frame-pointer -fstack-protector -fexceptions -std=c++17 -O0 -Wcast-align -Wswitch-enum -fvisibility=default -pedantic -Wzero-as-null-pointer-constant