Renamed FileManager.

This commit is contained in:
jupfi 2024-05-05 15:28:06 +02:00
parent dca03d288b
commit ecab5c6cda

View file

@ -251,7 +251,7 @@ class MeasurementView(ModuleView):
"""Slot for when the measurement save button is clicked.""" """Slot for when the measurement save button is clicked."""
logger.debug("Measurement save button clicked.") logger.debug("Measurement save button clicked.")
file_manager = self.QFileManager( file_manager = self.FileManager(
self.module.model.FILE_EXTENSION, parent=self.widget self.module.model.FILE_EXTENSION, parent=self.widget
) )
file_name = file_manager.saveFileDialog() file_name = file_manager.saveFileDialog()
@ -263,7 +263,7 @@ class MeasurementView(ModuleView):
"""Slot for when the measurement load button is clicked.""" """Slot for when the measurement load button is clicked."""
logger.debug("Measurement load button clicked.") logger.debug("Measurement load button clicked.")
file_manager = self.QFileManager( file_manager = self.FileManager(
self.module.model.FILE_EXTENSION, parent=self.widget self.module.model.FILE_EXTENSION, parent=self.widget
) )
file_name = file_manager.loadFileDialog() file_name = file_manager.loadFileDialog()