mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 00:37:50 -06:00
Hide outdated message if checking again
And if the result is different. Contributes to issue CURA-4557.
This commit is contained in:
parent
37edce5976
commit
55b247abbd
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,7 @@ class ModelChecker(QObject, Extension):
|
||||||
|
|
||||||
## Display warning message
|
## Display warning message
|
||||||
def showWarningMessage(self, warning_nodes):
|
def showWarningMessage(self, warning_nodes):
|
||||||
|
self._happy_message.hide()
|
||||||
self._caution_message.setText(catalog.i18nc(
|
self._caution_message.setText(catalog.i18nc(
|
||||||
"@info:status",
|
"@info:status",
|
||||||
"Some models may not be printed optimal due to object size and chosen material for models: {model_names}.\n"
|
"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()
|
self._caution_message.show()
|
||||||
|
|
||||||
def showHappyMessage(self):
|
def showHappyMessage(self):
|
||||||
|
self._caution_message.hide()
|
||||||
self._happy_message.show()
|
self._happy_message.show()
|
||||||
|
|
||||||
## Creates the view used by show popup. The view is saved because of the fairly aggressive garbage collection.
|
## Creates the view used by show popup. The view is saved because of the fairly aggressive garbage collection.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue