From f76eebe62f5b6455bd14996e5fe52a05b37d7303 Mon Sep 17 00:00:00 2001 From: jupfi Date: Sun, 5 May 2024 15:28:23 +0200 Subject: [PATCH] Renamed FileManager. --- src/nqrduck_pulseprogrammer/view.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/nqrduck_pulseprogrammer/view.py b/src/nqrduck_pulseprogrammer/view.py index 2b0612e..479eba0 100644 --- a/src/nqrduck_pulseprogrammer/view.py +++ b/src/nqrduck_pulseprogrammer/view.py @@ -15,7 +15,6 @@ QDialogButtonBox, QWidget, QToolButton, - QFileDialog, QSizePolicy, ) from PyQt6.QtCore import pyqtSlot, pyqtSignal @@ -338,7 +337,7 @@ def on_table_button_clicked(self, event, parameter) -> None: def on_save_button_clicked(self) -> None: """This method is called whenever the save button is clicked. It opens a dialog to select a file to save the pulse sequence to.""" logger.debug("Save button clicked") - file_manager = self.QFileManager(self.module.model.FILE_EXTENSION, parent=self) + file_manager = self.FileManager(self.module.model.FILE_EXTENSION, parent=self) file_name = file_manager.saveFileDialog() if file_name: self.module.controller.save_pulse_sequence(file_name) @@ -347,7 +346,7 @@ def on_save_button_clicked(self) -> None: def on_load_button_clicked(self) -> None: """This method is called whenever the load button is clicked. It opens a dialog to select a file to load the pulse sequence from.""" logger.debug("Load button clicked") - file_manager = self.QFileManager(self.module.model.FILE_EXTENSION, parent=self) + file_manager = self.FileManager(self.module.model.FILE_EXTENSION, parent=self) file_name = file_manager.loadFileDialog() if file_name: try: