- in Legacy(2D) graphic engine made to work the mouse color change
- theme changing is no longer auto-reboot upon change; it require now to press a button
This commit is contained in:
@@ -676,7 +676,17 @@ class GeneralGUIPrefGroupUI(OptionsGroupUI):
|
||||
|
||||
self.layout.addStretch()
|
||||
|
||||
self.theme_button.clicked.connect(self.app.on_theme_change)
|
||||
self.theme_button.clicked.connect(self.on_theme_change)
|
||||
|
||||
def on_theme_change(self):
|
||||
val = self.theme_radio.get_value()
|
||||
t_settings = QSettings("Open Source", "FlatCAM")
|
||||
t_settings.setValue('theme', val)
|
||||
|
||||
# This will write the setting to the platform specific storage.
|
||||
del t_settings
|
||||
|
||||
self.app.on_app_restart()
|
||||
|
||||
def handle_style(self, style):
|
||||
# set current style
|
||||
|
||||
Reference in New Issue
Block a user