mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Switching stack now removes focus from all elements
Fixes CURA-1778
This commit is contained in:
parent
05ff256af4
commit
0a3f64ef51
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue