mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 22:23:57 -06:00
Apply suggestions from code review
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com> Co-authored-by: Jelle Spijker <j.spijker@ultimaker.com>
This commit is contained in:
parent
e03b4e07f9
commit
1e6184448c
11 changed files with 26 additions and 25 deletions
|
@ -56,6 +56,7 @@ class ExtruderManager(QObject):
|
|||
"""Notify when the user switches the currently active extruder."""
|
||||
|
||||
def emitGlobalStackExtrudersChanged(self):
|
||||
# HACK
|
||||
# The emit function can't be directly connected to another signal. This wrapper function is required.
|
||||
# The extrudersChanged signal is emitted early when changing machines. This triggers it a second time
|
||||
# after the extruder have changed properly. This is important for any QML using ExtruderManager.extruderIds
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue