[GRASS-SVN] r45279 - grass/branches/develbranch_6/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 1 11:40:21 EST 2011


Author: martinl
Date: 2011-02-01 08:40:21 -0800 (Tue, 01 Feb 2011)
New Revision: 45279

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


Modified: grass/branches/develbranch_6/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/wxgui.py	2011-02-01 16:37:03 UTC (rev 45278)
+++ grass/branches/develbranch_6/gui/wxpython/wxgui.py	2011-02-01 16:40:21 UTC (rev 45279)
@@ -1013,31 +1013,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