We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 54a2f34 commit c94d100Copy full SHA for c94d100
src/app/legend/qgslegendlayerfile.cpp
@@ -310,15 +310,19 @@ void QgsLegendLayerFile::saveAsShapefile()
310
dirName,
311
filter,
312
QString("UTF-8"));
313
+ openFileDialog->setAcceptMode(QFileDialog::AcceptSave);
314
315
// allow for selection of more than one file
316
//openFileDialog->setMode(QFileDialog::AnyFile);
317
318
if (openFileDialog->exec() != QDialog::Accepted)
319
return;
320
321
+
322
QString encoding = openFileDialog->encoding();
323
QString shapefileName = openFileDialog->selectedFile();
324
+ settings.writeEntry("/UI/lastShapefileDir", QFileInfo(shapefileName).absolutePath());
325
326
327
if (shapefileName.isNull())
328
0 commit comments