[GRASS-SVN] r58317 - grass/trunk/gui/wxpython/mapswipe
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Nov 26 19:58:52 PST 2013
Author: annakrat
Date: 2013-11-26 19:58:52 -0800 (Tue, 26 Nov 2013)
New Revision: 58317
Modified:
grass/trunk/gui/wxpython/mapswipe/frame.py
Log:
wxGUI/mapswipe: fix launching from menu when maps are selected in lmgr
Modified: grass/trunk/gui/wxpython/mapswipe/frame.py
===================================================================
--- grass/trunk/gui/wxpython/mapswipe/frame.py 2013-11-26 22:57:03 UTC (rev 58316)
+++ grass/trunk/gui/wxpython/mapswipe/frame.py 2013-11-27 03:58:52 UTC (rev 58317)
@@ -592,7 +592,7 @@
self.SendSizeEvent()
def SetRasterNames(self):
- if self._inputDialog.IsSimpleMode():
+ if not self._inputDialog or self._inputDialog.IsSimpleMode():
if self.rasters['first']:
self.GetFirstWindow().SetRasterNameText(self.rasters['first'], 101)
if self.rasters['second']:
More information about the grass-commit
mailing list