فهرست منبع

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 سال پیش
والد
کامیت
37a3211bb5
1فایلهای تغییر یافته به همراه0 افزوده شده و 8 حذف شده
  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'))
             popupMenu.Append(self.popupID['props'], text=_('Properties'))
             self.frame.Bind(wx.EVT_MENU, self.OnProperties, id = self.popupID['props'])
             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)
         self.frame.PopupMenu(popupMenu)
         popupMenu.Destroy()
         popupMenu.Destroy()
 
 
-    def OnChangeId(self, event):
-        """!Change action id"""
-        pass
-    
     def OnDisable(self, event):
     def OnDisable(self, event):
         """!Disable action"""
         """!Disable action"""
         self._onEnable(False)
         self._onEnable(False)