Browse Source

wxGUI: import dialog are not modal
(merge https://trac.osgeo.org/grass/changeset/45278 from relbr64)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@45280 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 14 năm trước cách đây
mục cha
commit
1bfc2a4568
1 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 5 5
      gui/wxpython/wxgui.py

+ 5 - 5
gui/wxpython/wxgui.py

@@ -1014,31 +1014,31 @@ class GMFrame(wx.Frame):
         """!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"""