mirror of
https://github.com/nqrduck/nqrduck-pulseprogrammer.git
synced 2025-01-02 04:38:11 +00:00
Renamed FileManager.
This commit is contained in:
parent
06a2edc640
commit
f76eebe62f
1 changed files with 2 additions and 3 deletions
|
@ -15,7 +15,6 @@ from PyQt6.QtWidgets import (
|
|||
QDialogButtonBox,
|
||||
QWidget,
|
||||
QToolButton,
|
||||
QFileDialog,
|
||||
QSizePolicy,
|
||||
)
|
||||
from PyQt6.QtCore import pyqtSlot, pyqtSignal
|
||||
|
@ -338,7 +337,7 @@ class PulseProgrammerView(ModuleView):
|
|||
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 @@ class PulseProgrammerView(ModuleView):
|
|||
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:
|
||||
|
|
Loading…
Reference in a new issue