aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-22 19:51:00 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-22 19:51:00 -0700
commita5b14304f2ebb95487605aa4f336888581278961 (patch)
tree006aa044ee383effb910a576946204fe83b274b1
parent7bf07b890a3530dabb4c00621a76c88ea3177702 (diff)
parentfac886890377f3e932a6f7178a69f22ad11b9602 (diff)
downloadsubsurface-a5b14304f2ebb95487605aa4f336888581278961.tar.gz
Merge branch 'fixResizeEvent' of https://github.com/tcanabrava/subsurface
-rw-r--r--qt-ui/profilegraphics.cpp2
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()