Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemco Burema <r.burema@ultimaker.com>2019-03-29 18:23:16 +0300
committerRemco Burema <r.burema@ultimaker.com>2019-03-29 18:23:16 +0300
commitdc8524b90d80a034bd37add7dd5ce9d2cf533c94 (patch)
treef0fbd79536d0e96c6a1afa8075819bc326c7b88b /cura/MachineAction.py
parentd8f89d83301c8b5ab80c48dfa927f6fc419429a6 (diff)
Fix 'DiscoverUM3Action' required attention from user in flow. [CURA-6057]
Diffstat (limited to 'cura/MachineAction.py')
-rw-r--r--cura/MachineAction.py6
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