[GRASS-SVN] r64465 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Feb 4 12:22:18 PST 2015
Author: martinl
Date: 2015-02-04 12:22:18 -0800 (Wed, 04 Feb 2015)
New Revision: 64465
Modified:
grass/trunk/gui/wxpython/gui_core/vselect.py
Log:
wxGUI/vselect:
remove unused getSelectedFeatures()
check self._dialog if exists
Modified: grass/trunk/gui/wxpython/gui_core/vselect.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/vselect.py 2015-02-04 17:04:51 UTC (rev 64464)
+++ grass/trunk/gui/wxpython/gui_core/vselect.py 2015-02-04 20:22:18 UTC (rev 64465)
@@ -103,7 +103,7 @@
self.onCloseDialog = None
self.updateLayer = Signal('VectorSelectBase.updateLayer')
-
+
self.painter = VectorSelectHighlighter(self.mapDisp, giface)
def CreateDialog(self, createButton=True):
@@ -188,7 +188,8 @@
if 'Category' in vWhatDic:
self.AddVecInfo(vWhatDic)
self._draw()
- self._dialog.Raise()
+ if self._dialog:
+ self._dialog.Raise()
def AddVecInfo(self, vInfoDictTMP):
"""Update vector in list
@@ -273,9 +274,6 @@
return query[0]
- def getSelectedFeatures(self):
- return self.selectedFeatures
-
def GetLineStringSelectedCats(self):
"""Return line of categories separated by comma"""
strTMP = ''
More information about the grass-commit
mailing list