summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r--qt-ui/profile/profilewidget2.cpp3
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;