mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 07:09:02 +08:00
Properly disable Per Object Settings toolbutton on first start
On an empty profile, the cura/active_mode preference is not set so the code disabling the button was not called. Fixes CURA-901
This commit is contained in:
parent
7985a961c4
commit
51ad894711
@ -17,6 +17,7 @@ class PerObjectSettingsTool(Tool):
|
||||
self.setExposedProperties("Model", "SelectedIndex")
|
||||
|
||||
Preferences.getInstance().preferenceChanged.connect(self._onPreferenceChanged)
|
||||
self._onPreferenceChanged("cura/active_mode")
|
||||
|
||||
def event(self, event):
|
||||
return False
|
||||
|
Loading…
x
Reference in New Issue
Block a user