Use public activeExtruderIndex rather than internal _activeExtruderIndex

So that this getter still does what it needs to do if we ever decide to add side-effects.

Contributes to issue CURA-5876.
This commit is contained in:
Ghostkeeper 2018-11-30 11:13:04 +01:00
parent 1c96c81ba9
commit 4e2f51e7e8
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
3 changed files with 4 additions and 4 deletions

View file

@ -866,7 +866,7 @@ class MachineManager(QObject):
caution_message = Message(catalog.i18nc(
"@info:generic",
"Settings have been changed to match the current availability of extruders: [%s]" % ", ".join(add_user_changes)),
lifetime=0,
lifetime = 0,
title = catalog.i18nc("@info:title", "Settings updated"))
caution_message.show()