Skip to content

Commit

Permalink
Read the docs a bit more and now set the dialog into 'save' mode corr…
Browse files Browse the repository at this point in the history
…ectly

git-svn-id: http://svn.osgeo.org/qgis/trunk@5321 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Apr 20, 2006
1 parent 92bce07 commit 38806c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/composer/qgscomposer.cpp
Expand Up @@ -568,7 +568,7 @@ void QgsComposer::on_mActionExportAsImage_activated(void)
myQFileDialog->selectFilter(myLastUsedFilter);

// set the 'Open' button to something that makes more sense
myQFileDialog->setLabelText(QFileDialog::Accept, tr("Save"));
myQFileDialog->setAcceptMode(QFileDialog::AcceptSave);

//prompt the user for a filename
QString myOutputFileNameQString; // = myQFileDialog->getSaveFileName(); //delete this
Expand Down

0 comments on commit 38806c4

Please sign in to comment.