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/qgis@5321 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Apr 20, 2006
1 parent b7a4593 commit c5e9a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/composer/qgscomposer.cpp
Original file line number Diff line number Diff line change
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 c5e9a7f

Please sign in to comment.