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:
authorRuben D <rubend@tutanota.com>2018-03-22 02:32:46 +0300
committerRuben D <rubend@tutanota.com>2018-03-22 02:32:46 +0300
commit55b247abbdf13e5e412237c5243f502c18b66424 (patch)
tree6c78c057b0f6686b4c3305fe512b2a144407028c /plugins/ModelChecker
parent37edce597681ee206bc1b45f86f7f616f784ecd3 (diff)
Hide outdated message if checking again
And if the result is different. Contributes to issue CURA-4557.
Diffstat (limited to 'plugins/ModelChecker')
-rw-r--r--plugins/ModelChecker/ModelChecker.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/ModelChecker/ModelChecker.py b/plugins/ModelChecker/ModelChecker.py
index f5b5549575..58c7e380bf 100644
--- a/plugins/ModelChecker/ModelChecker.py
+++ b/plugins/ModelChecker/ModelChecker.py
@@ -71,6 +71,7 @@ class ModelChecker(QObject, Extension):
## Display warning message
def showWarningMessage(self, warning_nodes):
+ self._happy_message.hide()
self._caution_message.setText(catalog.i18nc(
"@info:status",
"Some models may not be printed optimal due to object size and chosen material for models: {model_names}.\n"
@@ -81,6 +82,7 @@ class ModelChecker(QObject, Extension):
self._caution_message.show()
def showHappyMessage(self):
+ self._caution_message.hide()
self._happy_message.show()
## Creates the view used by show popup. The view is saved because of the fairly aggressive garbage collection.