Working on extracting the prefs UI code from the App class

This commit is contained in:
David Robertson
2020-04-29 01:49:34 +01:00
parent 89c384766a
commit 72c2dd5f26
7 changed files with 1107 additions and 1127 deletions

View File

@@ -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':