diff options
author | fieldOfView <aldo@fieldofview.com> | 2018-01-10 02:07:43 +0300 |
---|---|---|
committer | fieldOfView <aldo@fieldofview.com> | 2018-01-10 02:07:43 +0300 |
commit | 2ce73a18397b0d0440a85a10d017c5568953d1b3 (patch) | |
tree | fb3edc05ecbde27da8d5ee9228bc807e29f5bd56 /plugins/MonitorStage | |
parent | 99de75a3fdafd5b1d653b638364dba2d61041712 (diff) |
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.
Diffstat (limited to 'plugins/MonitorStage')
-rw-r--r-- | plugins/MonitorStage/MonitorStage.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/MonitorStage/MonitorStage.py b/plugins/MonitorStage/MonitorStage.py index b5a38dad70..1a999ca896 100644 --- a/plugins/MonitorStage/MonitorStage.py +++ b/plugins/MonitorStage/MonitorStage.py @@ -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()
|