Merge branch '2.1' of https://github.com/Ultimaker/Cura into 2.1

This commit is contained in:
Jaime van Kessel 2016-01-22 16:54:23 +01:00
commit 5e5bcfb5fd
2 changed files with 8 additions and 8 deletions

View File

@ -106,7 +106,7 @@ class ImageReaderUI(QObject):
@pyqtSlot(str)
def onWidthChanged(self, value):
if self._ui_view and not self._disable_size_callbacks:
if (len(value) > 0):
if len(value) > 0:
self._width = float(value)
else:
self._width = 0
@ -119,7 +119,7 @@ class ImageReaderUI(QObject):
@pyqtSlot(str)
def onDepthChanged(self, value):
if self._ui_view and not self._disable_size_callbacks:
if (len(value) > 0):
if len(value) > 0:
self._depth = float(value)
else:
self._depth = 0