Skip to content

Commit 38806c4

Browse files
author
g_j_m
committed
Read the docs a bit more and now set the dialog into 'save' mode correctly
git-svn-id: http://svn.osgeo.org/qgis/trunk@5321 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 92bce07 commit 38806c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/composer/qgscomposer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ void QgsComposer::on_mActionExportAsImage_activated(void)
568568
myQFileDialog->selectFilter(myLastUsedFilter);
569569

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

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

0 commit comments

Comments
 (0)