[GRASS-SVN] r67633 - grass/trunk/gui/wxpython/modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 23 04:34:04 PST 2016


Author: martinl
Date: 2016-01-23 04:34:04 -0800 (Sat, 23 Jan 2016)
New Revision: 67633

Modified:
   grass/trunk/gui/wxpython/modules/import_export.py
Log:
wxGUI/import: don't ignore -o flag

Modified: grass/trunk/gui/wxpython/modules/import_export.py
===================================================================
--- grass/trunk/gui/wxpython/modules/import_export.py	2016-01-23 12:33:29 UTC (rev 67632)
+++ grass/trunk/gui/wxpython/modules/import_export.py	2016-01-23 12:34:04 UTC (rev 67633)
@@ -289,10 +289,9 @@
         
         layers = self.list.GetLayers()
         
-        if differentProjLayers:
+        if differentProjLayers and '-o' not in self.getSettingsPageCmd():
 
-            dlg = RerojectionDialog(
-                parent=self, giface=self._giface, data=differentProjLayers)
+            dlg = RerojectionDialog(parent=self, giface=self._giface, data=differentProjLayers)
                 
             ret = dlg.ShowModal()
 
@@ -363,7 +362,6 @@
         self.commandId = -1
         data = self.list.GetLayers()
 
-
         data = self._getLayersToReprojetion(2, 3)
 
         if data is None:
@@ -377,7 +375,6 @@
         dsn  = self.dsnInput.GetDsn()
         ext  = self.dsnInput.GetFormatExt()
         
-        
         for layer, output, listId in data:
             userData = {}
           



More information about the grass-commit mailing list