[GRASS-SVN] r48872 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 19 21:24:46 EDT 2011


Author: martinl
Date: 2011-10-19 18:24:46 -0700 (Wed, 19 Oct 2011)
New Revision: 48872

Modified:
   grass/trunk/gui/wxpython/gui_modules/gmodeler.py
Log:
wxGUI/modeler: remove undefined 'change id'


Modified: grass/trunk/gui/wxpython/gui_modules/gmodeler.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gmodeler.py	2011-10-20 01:01:52 UTC (rev 48871)
+++ grass/trunk/gui/wxpython/gui_modules/gmodeler.py	2011-10-20 01:24:46 UTC (rev 48872)
@@ -2402,17 +2402,9 @@
             popupMenu.Append(self.popupID['props'], text=_('Properties'))
             self.frame.Bind(wx.EVT_MENU, self.OnProperties, id = self.popupID['props'])
         
-        if isinstance(shape, ModelAction):
-            popupMenu.Append(self.popupID['id'], text=_('Change ID'))
-            self.frame.Bind(wx.EVT_MENU, self.OnChangeId, id = self.popupID['id'])
-        
         self.frame.PopupMenu(popupMenu)
         popupMenu.Destroy()
 
-    def OnChangeId(self, event):
-        """!Change action id"""
-        pass
-    
     def OnDisable(self, event):
         """!Disable action"""
         self._onEnable(False)



More information about the grass-commit mailing list