[refs #200] corrected call to QFileDialog
This commit is contained in:
parent
e6b788d423
commit
e1e3d54f8e
@ -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?"),
|
||||
|
Loading…
Reference in New Issue
Block a user