Skip to content
Permalink
Browse files

fix #5097

  • Loading branch information
alexbruy committed Mar 10, 2012
1 parent 32a6de7 commit 63b8017377f530faa11106a2d1152b9424d8470b
Showing with 5 additions and 1 deletion.
  1. +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 )

0 comments on commit 63b8017

Please sign in to comment.