diff --git a/src/View/MainWindow.py b/src/View/MainWindow.py index 41a25c07..809c3a4d 100644 --- a/src/View/MainWindow.py +++ b/src/View/MainWindow.py @@ -891,6 +891,9 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit): if self._study is None: return + if self._study.filename == "": + return + dialog = QFileDialog(self) dialog.setFileMode(QFileDialog.FileMode.ExistingFile) dialog.setDefaultSuffix(".BIN")