diff --git a/CHANGELOG.md b/CHANGELOG.md index dbc531e..2d73b07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +### Version 0.0.4 (05-05-2024) +- Now using the FileManager class instead of QFileManager + ### Version 0.0.3 (17-04-2024) - Fixed bug with missing dependencies (scipy) ### Version 0.0.2 (17-04-2024) diff --git a/pyproject.toml b/pyproject.toml index b41fe68..4e75a59 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "nqrduck-autotm" -version = "0.0.3" +version = "0.0.4" authors = [ { name="jupfi", email="support@nqrduck.cool" }, ] diff --git a/src/nqrduck_autotm/view.py b/src/nqrduck_autotm/view.py index 336d5c7..6b8784a 100644 --- a/src/nqrduck_autotm/view.py +++ b/src/nqrduck_autotm/view.py @@ -402,7 +402,7 @@ class AutoTMView(ModuleView): def on_export_button_clicked(self) -> None: """Slot for when the export button is clicked.""" logger.debug("Export button clicked") - file_manager = self.QFileManager(S11Data.FILE_EXTENSION, parent=self.widget) + file_manager = self.FileManager(S11Data.FILE_EXTENSION, parent=self.widget) file_name = file_manager.saveFileDialog() if file_name: self.module.controller.save_measurement(file_name) @@ -411,7 +411,7 @@ class AutoTMView(ModuleView): def on_import_button_clicked(self) -> None: """Slot for when the import button is clicked.""" logger.debug("Import button clicked") - file_manager = self.QFileManager(S11Data.FILE_EXTENSION, parent=self.widget) + file_manager = self.FileManager(S11Data.FILE_EXTENSION, parent=self.widget) file_name = file_manager.loadFileDialog() if file_name: self.module.controller.load_measurement(file_name)