[GRASS-SVN] r45280 - grass/trunk/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 1 11:41:08 EST 2011


Author: martinl
Date: 2011-02-01 08:41:08 -0800 (Tue, 01 Feb 2011)
New Revision: 45280

Modified:
   grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: import dialog are not modal
(merge r45278 from relbr64)


Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py	2011-02-01 16:40:21 UTC (rev 45279)
+++ grass/trunk/gui/wxpython/wxgui.py	2011-02-01 16:41:08 UTC (rev 45280)
@@ -1014,31 +1014,31 @@
         """!Convert multiple DXF layers to GRASS vector map layers"""
         dlg = gdialogs.DxfImportDialog(parent = self)
         dlg.CentreOnScreen()
-        dlg.ShowModal()
+        dlg.Show()
 
     def OnImportGdalLayers(self, event, cmd = None):
         """!Convert multiple GDAL layers to GRASS raster map layers"""
         dlg = gdialogs.GdalImportDialog(parent = self)
         dlg.CentreOnScreen()
-        dlg.ShowModal()
+        dlg.Show()
 
     def OnLinkGdalLayers(self, event, cmd = None):
         """!Link multiple GDAL layers to GRASS raster map layers"""
         dlg = gdialogs.GdalImportDialog(parent = self, link = True)
         dlg.CentreOnScreen()
-        dlg.ShowModal()
+        dlg.Show()
         
     def OnImportOgrLayers(self, event, cmd = None):
         """!Convert multiple OGR layers to GRASS vector map layers"""
         dlg = gdialogs.GdalImportDialog(parent = self, ogr = True)
         dlg.CentreOnScreen()
-        dlg.ShowModal()
+        dlg.Show()
         
     def OnLinkOgrLayers(self, event, cmd = None):
         """!Links multiple OGR layers to GRASS vector map layers"""
         dlg = gdialogs.GdalImportDialog(parent = self, ogr = True, link = True)
         dlg.CentreOnScreen()
-        dlg.ShowModal()
+        dlg.Show()
         
     def OnImportWMS(self, event):
         """!Import data from OGC WMS server"""



More information about the grass-commit mailing list