Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
  • Loading branch information
timlinux committed Apr 3, 2006
1 parent 2517029 commit fef83a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/qgisapp.cpp
Expand Up @@ -2394,6 +2394,8 @@ void QgisApp::newVectorLayer()

// allow for selection of more than one file
openFileDialog->setMode(QFileDialog::AnyFile);
openFileDialog->setAcceptMode(QFileDialog::AcceptSave);
openFileDialog->setConfirmOverwrite( true );

if (haveLastUsedFilter) // set the filter to the last one used
{
Expand Down

0 comments on commit fef83a4

Please sign in to comment.