Commit eeafd468 authored by dogmaphobic's avatar dogmaphobic
Browse files

Added appropriate AcceptMode to AcceptSave so the OpenFileSave shows the...

Added appropriate AcceptMode to AcceptSave so the OpenFileSave shows the proper Save button instead of the default Open button.
parent db7470f7
......@@ -100,6 +100,7 @@ QString QGCFileDialog::getSaveFileName(QWidget* parent,
#endif
{
QFileDialog dlg(parent, caption, dir, filter);
dlg.setAcceptMode(QFileDialog::AcceptSave);
if (selectedFilter)
dlg.selectNameFilter(*selectedFilter);
if (options)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment