diff options
Diffstat (limited to 'qt-ui/profile/divecartesianaxis.cpp')
-rw-r--r-- | qt-ui/profile/divecartesianaxis.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/profile/divecartesianaxis.cpp b/qt-ui/profile/divecartesianaxis.cpp index 4c4f15bb2..0d1d5357d 100644 --- a/qt-ui/profile/divecartesianaxis.cpp +++ b/qt-ui/profile/divecartesianaxis.cpp @@ -5,6 +5,7 @@ #include "preferences.h" #include "diveplotdatamodel.h" #include "animationfunctions.h" +#include "mainwindow.h" #include <QPen> #include <QGraphicsScene> #include <QDebug> @@ -132,7 +133,7 @@ void emptyList(QList<T *> &list, double steps) void DiveCartesianAxis::updateTicks(color_indice_t color) { - if (!scene() || !changed) + if (!scene() || (!changed && !MainWindow::instance()->graphics()->getPrintMode())) return; QLineF m = line(); // unused so far: |