diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-07-02 13:58:06 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-03 09:37:55 -0700 |
commit | ce47683de82b3eb0f6e41d3cb5f2b6f035d98afa (patch) | |
tree | 5ebe072430db354587ef3d2be37b8c808d79944f /qt-ui/profile | |
parent | 635a7ab77171e9789f13accfa5904afe27460f70 (diff) | |
download | subsurface-ce47683de82b3eb0f6e41d3cb5f2b6f035d98afa.tar.gz |
UI restructure: always display pictures for displayed dive
The only time this is ever wrong is in print mode, so let's never show
pictures in print mode.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile')
-rw-r--r-- | qt-ui/profile/profilewidget2.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index 05f592ab8..7a17fd7fb 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -1343,6 +1343,9 @@ void ProfileWidget2::keyEscAction() void ProfileWidget2::plotPictures() { + if (printMode) + return; + qDeleteAll(pictures); pictures.clear(); double x, y, lastX = -1.0, lastY = -1.0; |