Initializing AllPlot::isPanning to false (#4482)

AllPlot::isPanning was uninitialized, leading to unwanted (i.e. without
prior middleclick) panning.
This commit initializes AllPlot::isPanning explicitly to false.
This commit is contained in:
Joachim Kohlhammer
2024-04-29 21:01:34 +02:00
committed by GitHub
parent 76dedfb482
commit 7a11a6abd4

View File

@@ -734,7 +734,7 @@ class AllPlot : public QwtPlot
RideFile::SeriesType secondaryScope;
// mouse control
bool isPanning;
bool isPanning = false;
int panOriginX;
protected: