diff --git a/widget/src/qt/nsFilePicker.cpp b/widget/src/qt/nsFilePicker.cpp index c3097abd6af..3113c755c6d 100644 --- a/widget/src/qt/nsFilePicker.cpp +++ b/widget/src/qt/nsFilePicker.cpp @@ -218,6 +218,7 @@ nsFilePicker::Show(PRInt16 *aReturn) break; case nsIFilePicker::modeSave: mDialog->setFileMode(QFileDialog::AnyFile); + mDialog->setAcceptMode(QFileDialog::AcceptSave); break; case nsIFilePicker::modeGetFolder: mDialog->setFileMode(QFileDialog::DirectoryOnly);