diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2013-12-24 10:27:14 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-24 07:06:29 -0800 |
commit | e0bdf455396744f524c8392e345ab9100bc1f451 (patch) | |
tree | 603466e57ece4524d95a656f65c23b40fa18379d | |
parent | a2bf4e76e4655f9473295b9890cf1aa6538c2cf9 (diff) | |
download | subsurface-e0bdf455396744f524c8392e345ab9100bc1f451.tar.gz |
Allow selecting all files on CSV import
This allows user to view any file on CSV import dialog, not only the
ones ending with .csv. Of course, the default still shows only the .csv
files and user needs to change the filter to view the rest.
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-ui/csvimportdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/csvimportdialog.cpp b/qt-ui/csvimportdialog.cpp index b3392f421..3182d9c31 100644 --- a/qt-ui/csvimportdialog.cpp +++ b/qt-ui/csvimportdialog.cpp @@ -68,7 +68,7 @@ void CSVImportDialog::on_buttonBox_accepted() void CSVImportDialog::on_CSVFileSelector_clicked() { - QString filename = QFileDialog::getOpenFileName(this, tr("Open CSV Log File"), ".", tr("CSV Files (*.csv)")); + QString filename = QFileDialog::getOpenFileName(this, tr("Open CSV Log File"), ".", tr("CSV Files (*.csv);;All Files(*)")); ui->CSVFile->setText(filename); if (filename.isEmpty()) ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false); |