mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Fix updating icon in the top bar
This makes sure events such as onAcceptsCommandsChanges get connected if an outputdevice has been added before the monitorstage is initialized.
This commit is contained in:
parent
99de75a3fd
commit
2ce73a1839
1 changed files with 1 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ class MonitorStage(CuraStage):
|
|||
def _onEngineCreated(self):
|
||||
# We can only connect now, as we need to be sure that everything is loaded (plugins get created quite early)
|
||||
Application.getInstance().getMachineManager().outputDevicesChanged.connect(self._onOutputDevicesChanged)
|
||||
self._onOutputDevicesChanged()
|
||||
self._updateMainOverlay()
|
||||
self._updateSidebar()
|
||||
self._updateIconSource()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue