From e1e3d54f8e6203c3ac50dd4cba713409b626a379 Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Mon, 5 Sep 2016 10:16:12 +0200 Subject: [PATCH] [refs #200] corrected call to QFileDialog --- QtPyLoT.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QtPyLoT.py b/QtPyLoT.py index 5e5f64a8..93360d2e 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -962,7 +962,7 @@ class MainWindow(QMainWindow): onset = pick.time fninv = settings.value("inventoryFile", None) if fninv is None: - fninv = QFileDialog.getOpenFileName() + fninv = QFileDialog.getOpenFileName(self, self.tr("Select inventory..."), self.tr("Select file")) ans = QMessageBox.question(self, self.tr("Make default..."), self.tr("New inventory filename set.\n" + \ "Do you want to make it the default value?"),