diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-03-16 15:10:03 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-03-16 15:11:35 -0700 |
commit | 33b1b0ed9d6a9ccb41d0a86eae105903e61880e7 (patch) | |
tree | 07fe1289c547121ca91a75debf94c0ec9bae1807 /qt-ui/profile/diveeventitem.h | |
parent | 0f7dfcee26812b44d276ea44acefa135a376c0f6 (diff) | |
download | subsurface-33b1b0ed9d6a9ccb41d0a86eae105903e61880e7.tar.gz |
New profile: fix event hiding logic
Turns out we unconditionally set all events as visible when redrawing the
dive - even with a comment that this should take into account if the event
is visible. Oops.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveeventitem.h')
-rw-r--r-- | qt-ui/profile/diveeventitem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/profile/diveeventitem.h b/qt-ui/profile/diveeventitem.h index 1b138163c..f358fee6d 100644 --- a/qt-ui/profile/diveeventitem.h +++ b/qt-ui/profile/diveeventitem.h @@ -17,6 +17,7 @@ public: void setVerticalAxis(DiveCartesianAxis *axis); void setHorizontalAxis(DiveCartesianAxis *axis); void setModel(DivePlotDataModel *model); + bool shouldBeHidden(); public slots: void recalculatePos(bool instant = false); |