Skip to content

Commit fef83a4

Browse files
author
timlinux
committed
Make new vector layer creation dialog say 'Save' rather than 'Open'
git-svn-id: http://svn.osgeo.org/qgis/trunk@5138 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 2517029 commit fef83a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/gui/qgisapp.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -2394,6 +2394,8 @@ void QgisApp::newVectorLayer()
23942394

23952395
// allow for selection of more than one file
23962396
openFileDialog->setMode(QFileDialog::AnyFile);
2397+
openFileDialog->setAcceptMode(QFileDialog::AcceptSave);
2398+
openFileDialog->setConfirmOverwrite( true );
23972399

23982400
if (haveLastUsedFilter) // set the filter to the last one used
23992401
{

0 commit comments

Comments
 (0)