Skip to content

Commit

Permalink
init mDraggingGuideOldPosition
Browse files Browse the repository at this point in the history
  • Loading branch information
speillet authored and nyalldawson committed Feb 1, 2022
1 parent 50d0be1 commit c049793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/layout/qgslayoutruler.h
Expand Up @@ -120,7 +120,7 @@ class GUI_EXPORT QgsLayoutRuler: public QWidget

int mDragGuideTolerance = 0;
QgsLayoutGuide *mDraggingGuide = nullptr;
double mDraggingGuideOldPosition;
double mDraggingGuideOldPosition = 0.0;
QgsLayoutGuide *mHoverGuide = nullptr;

bool mCreatingGuide = false;
Expand Down

0 comments on commit c049793

Please sign in to comment.