[GRASS-SVN] r56139 - grass/branches/releasebranch_6_4/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon May 6 03:48:06 PDT 2013
Author: annakrat
Date: 2013-05-06 03:48:06 -0700 (Mon, 06 May 2013)
New Revision: 56139
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gui_core/goutput.py
Log:
wxGUI: fix #1949
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_core/goutput.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_core/goutput.py 2013-05-06 10:33:46 UTC (rev 56138)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_core/goutput.py 2013-05-06 10:48:06 UTC (rev 56139)
@@ -944,7 +944,7 @@
mapTree = None
cmd = dialog.notebookpanel.createCmd(ignoreErrors = True)
- if hasattr(dialog, "addbox") and dialog.addbox.IsChecked():
+ if mapTree and hasattr(dialog, "addbox") and dialog.addbox.IsChecked():
# add created maps into layer tree
for p in dialog.task.get_options()['params']:
prompt = p.get('prompt', '')
More information about the grass-commit
mailing list