[GRASS-dev] [GRASS GIS] #3402: g.gui.gmodeler: trying to add command pushes CPU to 100% and provokes freeze
GRASS GIS
trac at osgeo.org
Sat Aug 26 02:50:33 PDT 2017
#3402: g.gui.gmodeler: trying to add command pushes CPU to 100% and provokes
freeze
--------------------------+-----------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 7.2.2
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: gmodeler freeze
CPU: Unspecified | Platform: Unspecified
--------------------------+-----------------------------
Comment (by mlennert):
To be complete, my patch has to be
{{{
Index: gui/wxpython/gui_core/widgets.py
===================================================================
--- gui/wxpython/gui_core/widgets.py (révision 71437)
+++ gui/wxpython/gui_core/widgets.py (copie de travail)
@@ -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):
}}}
Otherwise, you cannot launch the widget a second time...
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3402#comment:16>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list