diff options
author | Remco Burema <r.burema@ultimaker.com> | 2019-03-29 18:23:16 +0300 |
---|---|---|
committer | Remco Burema <r.burema@ultimaker.com> | 2019-03-29 18:23:16 +0300 |
commit | dc8524b90d80a034bd37add7dd5ce9d2cf533c94 (patch) | |
tree | f0fbd79536d0e96c6a1afa8075819bc326c7b88b /cura/MachineAction.py | |
parent | d8f89d83301c8b5ab80c48dfa927f6fc419429a6 (diff) |
Fix 'DiscoverUM3Action' required attention from user in flow. [CURA-6057]
Diffstat (limited to 'cura/MachineAction.py')
-rw-r--r-- | cura/MachineAction.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cura/MachineAction.py b/cura/MachineAction.py index 94b096f9c1..773a1cad1a 100644 --- a/cura/MachineAction.py +++ b/cura/MachineAction.py @@ -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 |