[GRASS-SVN] r71439 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 26 06:46:31 PDT 2017


Author: mlennert
Date: 2017-08-26 06:46:31 -0700 (Sat, 26 Aug 2017)
New Revision: 71439

Modified:
   grass/trunk/gui/wxpython/gui_core/widgets.py
Log:
gui_core: add label in StaticWrapText widget used by SearchModuleWidget (fix for #3402)


Modified: grass/trunk/gui/wxpython/gui_core/widgets.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/widgets.py	2017-08-26 12:39:44 UTC (rev 71438)
+++ grass/trunk/gui/wxpython/gui_core/widgets.py	2017-08-26 13:46:31 UTC (rev 71439)
@@ -1088,7 +1088,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)
@@ -1199,7 +1199,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