diff options
Diffstat (limited to 'Cura/gui/printWindow.py')
-rw-r--r-- | Cura/gui/printWindow.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Cura/gui/printWindow.py b/Cura/gui/printWindow.py index 70d5fc8d61..5f98900e0e 100644 --- a/Cura/gui/printWindow.py +++ b/Cura/gui/printWindow.py @@ -13,6 +13,7 @@ import ctypes import subprocess from Cura.util import resources from Cura.util import profile +from Cura.util import version #TODO: This does not belong here! if sys.platform.startswith('win'): @@ -972,7 +973,13 @@ class printWindowAdvanced(wx.Frame): self._printerConnection.isPaused()) else: self.cancelButton.Enable(False) - self.errorLogButton.Show(self._printerConnection.isInErrorState()) + if version.isDevVersion(): + if self._printerConnection.isInErrorState(): + self.errorLogButton.SetLabel(_("Error Log")) + else: + self.errorLogButton.SetLabel(_("Show Log")) + else: + self.errorLogButton.Show(self._printerConnection.isInErrorState()) self._termInput.Enable(self._printerConnection.isAbleToSendDirectCommand()) self.Layout() |