Przeglądaj źródła

wxGUI/modeler: remove undefined 'change id'

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48872 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 lat temu
rodzic
commit
37a3211bb5
1 zmienionych plików z 0 dodań i 8 usunięć
  1. 0 8
      gui/wxpython/gui_modules/gmodeler.py

+ 0 - 8
gui/wxpython/gui_modules/gmodeler.py

@@ -2402,17 +2402,9 @@ class ModelEvtHandler(ogl.ShapeEvtHandler):
             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)