mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 08:17:49 -06:00
Display a more appropriate message when processing layers
Contributes to CURA-132
This commit is contained in:
parent
76d2fd3665
commit
b99a67ceb5
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ class ProcessSlicedObjectListJob(Job):
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
if Application.getInstance().getController().getActiveView().getPluginId() == "LayerView":
|
if Application.getInstance().getController().getActiveView().getPluginId() == "LayerView":
|
||||||
self._progress = Message(catalog.i18nc("@info", "Layers"), 0, False, 0)
|
self._progress = Message(catalog.i18nc("@info:status", "Processing Layers"), 0, False, 0)
|
||||||
self._progress.show()
|
self._progress.show()
|
||||||
|
|
||||||
Application.getInstance().getController().activeViewChanged.connect(self._onActiveViewChanged)
|
Application.getInstance().getController().activeViewChanged.connect(self._onActiveViewChanged)
|
||||||
|
@ -108,7 +108,7 @@ class ProcessSlicedObjectListJob(Job):
|
||||||
if self.isRunning():
|
if self.isRunning():
|
||||||
if Application.getInstance().getController().getActiveView().getPluginId() == "LayerView":
|
if Application.getInstance().getController().getActiveView().getPluginId() == "LayerView":
|
||||||
if not self._progress:
|
if not self._progress:
|
||||||
self._progress = Message(catalog.i18nc("Layers View mode", "Layers"), 0, False, 0)
|
self._progress = Message(catalog.i18nc("@info:status", "Processing Layers"), 0, False, 0)
|
||||||
self._progress.show()
|
self._progress.show()
|
||||||
else:
|
else:
|
||||||
if self._progress:
|
if self._progress:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue