Commit 9bd7680f authored by Don Gagne's avatar Don Gagne

Merge pull request #1184 from dogmaphobic/issue1173

Remove erroneous use of QFileDialog::selectNameFilter()
parents 28b6c070 98bf2379
......@@ -101,9 +101,6 @@ QString QGCFileDialog::getSaveFileName(QWidget* parent,
{
QFileDialog dlg(parent, caption, dir, filter);
dlg.setAcceptMode(QFileDialog::AcceptSave);
if (selectedFilter) {
dlg.selectNameFilter(*selectedFilter);
}
if (options) {
dlg.setOptions(options);
}
......
Markdown is supported
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