Kaynağa Gözat

wxGUI: remove unused code
(merge from devbr6, https://trac.osgeo.org/grass/changeset/34972)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@34973 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 16 yıl önce
ebeveyn
işleme
3b8f247f65
1 değiştirilmiş dosya ile 1 ekleme ve 11 silme
  1. 1 11
      gui/wxpython/wxgui.py

+ 1 - 11
gui/wxpython/wxgui.py

@@ -1115,17 +1115,7 @@ class GMFrame(wx.Frame):
         dcmd = self.curr_page.maptree.GetPyData(layer)[0]['cmd']
         if not dcmd:
             return
-
-        size = icon = None
-
-        for option in dcmd:
-            if option.find('size') > -1:
-                size = option.split('=')[1]
-            elif option.find('icon') > -1:
-                icon = option.split('=')[1]
-
-        pointdata = (icon, size)
-
+        
         busy = wx.BusyInfo(message=_("Please wait, loading attribute data..."),
                            parent=self)
         wx.Yield()