[GRASS-SVN] r71440 - grass/branches/releasebranch_7_2/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 26 06:48:29 PDT 2017


Author: mlennert
Date: 2017-08-26 06:48:29 -0700 (Sat, 26 Aug 2017)
New Revision: 71440

Modified:
   grass/branches/releasebranch_7_2/gui/wxpython/gui_core/widgets.py
Log:
gui_core: add label in StaticWrapText? widget used by SearchModuleWidget? (backport from trunk r71439, fix for #3402)


Modified: grass/branches/releasebranch_7_2/gui/wxpython/gui_core/widgets.py
===================================================================
--- grass/branches/releasebranch_7_2/gui/wxpython/gui_core/widgets.py	2017-08-26 13:46:31 UTC (rev 71439)
+++ grass/branches/releasebranch_7_2/gui/wxpython/gui_core/widgets.py	2017-08-26 13:48:29 UTC (rev 71440)
@@ -1073,7 +1073,7 @@
 
         if self._showTip:
             self._searchTip = StaticWrapText(parent=self, id=wx.ID_ANY,
-                                             size=(-1, 35))
+                                  label="Choose a module", size=(-1, 35))
 
         if self._showChoice:
             self._searchChoice = wx.Choice(parent=self, id=wx.ID_ANY)
@@ -1184,7 +1184,7 @@
         """Reset widget"""
         self._search.SetValue('')
         if self._showTip:
-            self._searchTip.SetLabel('')
+            self._searchTip.SetLabel('Choose a module')
 
 
 class ManageSettingsWidget(wx.Panel):



More information about the grass-commit mailing list