mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 18:57:52 -06:00
Fix 'DiscoverUM3Action' required attention from user in flow. [CURA-6057]
This commit is contained in:
parent
d8f89d8330
commit
dc8524b90d
3 changed files with 12 additions and 1 deletions
|
@ -33,6 +33,12 @@ class MachineAction(QObject, PluginObject):
|
|||
def getKey(self) -> str:
|
||||
return self._key
|
||||
|
||||
## Whether this action needs to ask the user anything.
|
||||
# If not, we shouldn't present the user with certain screens which otherwise show up.
|
||||
# Defaults to true to be in line with the old behaviour.
|
||||
def needsUserInteraction(self) -> bool:
|
||||
return True
|
||||
|
||||
@pyqtProperty(str, notify = labelChanged)
|
||||
def label(self) -> str:
|
||||
return self._label
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue