mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-17 10:05:57 +08:00
Switching stack now removes focus from all elements
Fixes CURA-1778
This commit is contained in:
parent
05ff256af4
commit
0a3f64ef51
@ -104,6 +104,7 @@ class MachineManagerModel(QObject):
|
||||
self._global_stack_valid = not self._checkStackForErrors(self._global_container_stack)
|
||||
|
||||
def _onActiveExtruderStackChanged(self):
|
||||
self.blurSettings.emit() # Ensure no-one has focus.
|
||||
if self._active_container_stack and self._active_container_stack != self._global_container_stack:
|
||||
self._active_container_stack.containersChanged.disconnect(self._onInstanceContainersChanged)
|
||||
self._active_container_stack.propertyChanged.disconnect(self._onGlobalPropertyChanged)
|
||||
|
Loading…
x
Reference in New Issue
Block a user