Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
5 additions
and
1 deletion.
-
+5
−1
python/plugins/fTools/tools/doMergeShapes.py
|
@@ -30,9 +30,11 @@ def __init__( self, iface ): |
|
|
QObject.connect( self.leOutShape, SIGNAL( "editingFinished()" ), self.updateOutFile ) |
|
|
|
|
|
def inputDir( self ): |
|
|
settings = QSettings() |
|
|
lastDir = settings.value( "/fTools/lastShapeDir", "." ).toString() |
|
|
inDir = QFileDialog.getExistingDirectory( self, |
|
|
self.tr( "Select directory with shapefiles to merge" ), |
|
|
"." ) |
|
|
lastDir ) |
|
|
|
|
|
if inDir.isEmpty(): |
|
|
return |
|
@@ -48,6 +50,8 @@ def inputDir( self ): |
|
|
self.inputFiles = None |
|
|
return |
|
|
|
|
|
settings.setValue( "/fTools/lastShapeDir", inDir ) |
|
|
|
|
|
self.progressFiles.setRange( 0, self.inputFiles.count() ) |
|
|
self.leInputDir.setText( inDir ) |
|
|
|
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.