summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 4f8241586..db1d8c8b7 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -307,7 +307,7 @@ void MainWindow::on_actionOpen_triggered()
dialog.setViewMode(QFileDialog::Detail);
dialog.setLabelText(QFileDialog::Accept, tr("Open"));
dialog.setLabelText(QFileDialog::Reject, tr("Cancel"));
- dialog.setAcceptMode(QFileDialog::AcceptSave);
+ dialog.setAcceptMode(QFileDialog::AcceptOpen);
QStringList filenames;
if (dialog.exec())
filenames = dialog.selectedFiles();