[GRASS-SVN] r43793 - grass/trunk/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Oct 5 08:08:43 EDT 2010
Author: martinl
Date: 2010-10-05 12:08:43 +0000 (Tue, 05 Oct 2010)
New Revision: 43793
Modified:
grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: show new map display when no display iss available
Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py 2010-10-05 12:02:40 UTC (rev 43792)
+++ grass/trunk/gui/wxpython/wxgui.py 2010-10-05 12:08:43 UTC (rev 43793)
@@ -1133,7 +1133,7 @@
"""!Add raster map layer"""
# start new map display if no display is available
if not self.curr_page:
- self.NewDisplay(show=False)
+ self.NewDisplay(show = True)
self.AddRaster(event)
@@ -1141,7 +1141,7 @@
"""!Add 3D raster map layer"""
# start new map display if no display is available
if not self.curr_page:
- self.NewDisplay(show=False)
+ self.NewDisplay(show = True)
self.AddRaster3D(event)
@@ -1149,7 +1149,7 @@
"""!Add raster menu"""
# start new map display if no display is available
if not self.curr_page:
- self.NewDisplay(show=False)
+ self.NewDisplay(show = True)
point = wx.GetMousePosition()
rastmenu = wx.Menu()
@@ -1191,7 +1191,7 @@
"""!Add vector map layer"""
# start new map display if no display is available
if not self.curr_page:
- self.NewDisplay(show=False)
+ self.NewDisplay(show = True)
self.AddVector(event)
@@ -1199,7 +1199,7 @@
"""!Add vector menu"""
# start new map display if no display is available
if not self.curr_page:
- self.NewDisplay(show=False)
+ self.NewDisplay(show = True)
point = wx.GetMousePosition()
vectmenu = wx.Menu()
@@ -1226,7 +1226,7 @@
"""!Add decoration overlay menu"""
# start new map display if no display is available
if not self.curr_page:
- self.NewDisplay(show=False)
+ self.NewDisplay(show = True)
point = wx.GetMousePosition()
ovlmenu = wx.Menu()
@@ -1317,7 +1317,7 @@
"""!Add command line layer"""
# start new map display if no display is available
if not self.curr_page:
- self.NewDisplay(show=False)
+ self.NewDisplay(show = True)
self.notebook.SetSelection(0)
self.curr_page.maptree.AddLayer('command')
@@ -1329,7 +1329,7 @@
"""!Add layer group"""
# start new map display if no display is available
if not self.curr_page:
- self.NewDisplay(show=False)
+ self.NewDisplay(show = True)
self.notebook.SetSelection(0)
self.curr_page.maptree.AddLayer('group')
@@ -1356,7 +1356,7 @@
"""!Add layer vector labels"""
# start new map display if no display is available
if not self.curr_page:
- self.NewDisplay(show=False)
+ self.NewDisplay(show = True)
self.notebook.SetSelection(0)
self.curr_page.maptree.AddLayer('labels')
More information about the grass-commit
mailing list