[GRASS-SVN] r58561 - grass/trunk/gui/wxpython/gmodeler
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Dec 30 04:51:39 PST 2013
Author: martinl
Date: 2013-12-30 04:51:39 -0800 (Mon, 30 Dec 2013)
New Revision: 58561
Modified:
grass/trunk/gui/wxpython/gmodeler/frame.py
Log:
wxGUI/modeler: fix draging objects
Modified: grass/trunk/gui/wxpython/gmodeler/frame.py
===================================================================
--- grass/trunk/gui/wxpython/gmodeler/frame.py 2013-12-30 11:50:42 UTC (rev 58560)
+++ grass/trunk/gui/wxpython/gmodeler/frame.py 2013-12-30 12:51:39 UTC (rev 58561)
@@ -1224,7 +1224,11 @@
self.frame.DefineLoop(mo)
elif isinstance(mo, ModelCondition):
self.frame.DefineCondition(mo)
-
+
+ shape = self.GetShape()
+ canvas = shape.GetCanvas()
+ canvas.Refresh()
+
def OnEndSize(self, x, y):
"""!Resize shape"""
self.frame.ModelChanged()
More information about the grass-commit
mailing list