diff options
-rw-r--r-- | qt-ui/profilegraphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profilegraphics.cpp b/qt-ui/profilegraphics.cpp index 637c7fe95..da18574ec 100644 --- a/qt-ui/profilegraphics.cpp +++ b/qt-ui/profilegraphics.cpp @@ -1136,7 +1136,7 @@ QGraphicsSimpleTextItem *ProfileGraphicsView::plot_text(text_render_options_t *t void ProfileGraphicsView::resizeEvent(QResizeEvent *event) { - plot(dive); + fitInView(sceneRect()); } void ProfileGraphicsView::plot_temperature_profile() |