Skip to content

Commit 300acb8

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/qgis@5138 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent ec0b279 commit 300acb8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/gui/qgisapp.cpp

Lines changed: 2 additions & 0 deletions
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)