Fixed update the plot as we resize the view.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
Tomaz Canabrava 2013-05-22 16:20:54 -03:00
parent d6bee060af
commit fac8868903

View file

@ -1136,7 +1136,7 @@ QGraphicsSimpleTextItem *ProfileGraphicsView::plot_text(text_render_options_t *t
void ProfileGraphicsView::resizeEvent(QResizeEvent *event) void ProfileGraphicsView::resizeEvent(QResizeEvent *event)
{ {
plot(dive); fitInView(sceneRect());
} }
void ProfileGraphicsView::plot_temperature_profile() void ProfileGraphicsView::plot_temperature_profile()