Working on extracting the prefs UI code from the App class
This commit is contained in:
@@ -2910,7 +2910,7 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
|
||||
if key == QtCore.Qt.Key_S:
|
||||
widget_name = self.plot_tab_area.currentWidget().objectName()
|
||||
if widget_name == 'preferences_tab':
|
||||
self.app.on_save_button(save_to_file=False)
|
||||
self.app.preferencesUiManager.on_save_button(save_to_file=False)
|
||||
return
|
||||
|
||||
if widget_name == 'database_tab':
|
||||
|
||||
Reference in New Issue
Block a user