mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 00:28:42 +00:00
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:
committed by
GitHub
parent
76dedfb482
commit
7a11a6abd4
@@ -734,7 +734,7 @@ class AllPlot : public QwtPlot
|
||||
RideFile::SeriesType secondaryScope;
|
||||
|
||||
// mouse control
|
||||
bool isPanning;
|
||||
bool isPanning = false;
|
||||
int panOriginX;
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user