[GRASS-SVN] r52067 - grass/branches/develbranch_6/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jun 14 07:00:49 PDT 2012
Author: annakrat
Date: 2012-06-14 07:00:48 -0700 (Thu, 14 Jun 2012)
New Revision: 52067
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_core/forms.py
grass/branches/develbranch_6/gui/wxpython/gui_core/goutput.py
Log:
wxGUI: fixed aborting command by Ctrl+S (merged from trunk, r52066)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_core/forms.py 2012-06-14 13:50:56 UTC (rev 52066)
+++ grass/branches/develbranch_6/gui/wxpython/gui_core/forms.py 2012-06-14 14:00:48 UTC (rev 52067)
@@ -665,7 +665,8 @@
def OnAbort(self, event):
"""!Abort running command"""
- event = goutput.wxCmdAbort(aborted = True)
+ from gui_core.goutput import wxCmdAbort
+ event = wxCmdAbort(aborted = True)
wx.PostEvent(self.goutput, event)
def OnCopy(self, event):
Modified: grass/branches/develbranch_6/gui/wxpython/gui_core/goutput.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_core/goutput.py 2012-06-14 13:50:56 UTC (rev 52066)
+++ grass/branches/develbranch_6/gui/wxpython/gui_core/goutput.py 2012-06-14 14:00:48 UTC (rev 52067)
@@ -278,7 +278,7 @@
self.btnOutputClear.Bind(wx.EVT_BUTTON, self.OnOutputClear)
self.btnOutputSave.Bind(wx.EVT_BUTTON, self.OnOutputSave)
self.btnCmdAbort.Bind(wx.EVT_BUTTON, self.OnCmdAbort)
- self.btnCmdAbort.Bind(EVT_CMD_ABORT, self.OnCmdAbort)
+ self.Bind(EVT_CMD_ABORT, self.OnCmdAbort)
self.btnCmdProtocol.Bind(wx.EVT_TOGGLEBUTTON, self.OnCmdProtocol)
self._layout()
More information about the grass-commit
mailing list