mirror of https://gitlab.com/pamhyr/pamhyr2
Mainwindow: Minor change.
parent
73475220e9
commit
486ff5c239
|
|
@ -891,6 +891,9 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||||
if self._study is None:
|
if self._study is None:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if self._study.filename == "":
|
||||||
|
return
|
||||||
|
|
||||||
dialog = QFileDialog(self)
|
dialog = QFileDialog(self)
|
||||||
dialog.setFileMode(QFileDialog.FileMode.ExistingFile)
|
dialog.setFileMode(QFileDialog.FileMode.ExistingFile)
|
||||||
dialog.setDefaultSuffix(".BIN")
|
dialog.setDefaultSuffix(".BIN")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue