summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <[email protected]>2015-09-23 03:26:57 +0200
committerAleix Pol <[email protected]>2015-09-23 03:26:57 +0200
commit69aff5fdf2bbc20183968273d104a6b8196f4eec (patch)
tree030c0fe140c2e0faacb3647541482f075ccb858a
parent525a91a82d8c4764476aa9c87b817b9fd3d8ee69 (diff)
Properly request a view update
-rw-r--r--analitzawidgets/plotsview3d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/analitzawidgets/plotsview3d.cpp b/analitzawidgets/plotsview3d.cpp
index 2493484..c0889a1 100644
--- a/analitzawidgets/plotsview3d.cpp
+++ b/analitzawidgets/plotsview3d.cpp
@@ -140,12 +140,12 @@ void PlotsView3D::modelChanged()
connect(model(), SIGNAL(rowsInserted(QModelIndex,int,int)), this, SLOT(addFuncs(QModelIndex,int,int)));
connect(model(), SIGNAL(rowsRemoved(QModelIndex,int,int)), this, SLOT(removeFuncs(QModelIndex,int,int)));
- updateGL();
+ update();
}
void PlotsView3D::renderGL()
{
- updateGL();
+ update();
}
void PlotsView3D::wheelEvent(QWheelEvent* ev)