Bug correction: fullscreen mode doesn't work if scene goal is not set

This commit is contained in:
Olivier Keshavjee 2016-02-10 01:28:37 +01:00
parent 95cadf71c4
commit 9feb0776b6
2 changed files with 1 additions and 1 deletions

View file

@ -280,7 +280,7 @@ class fullScreenEditor(QWidget):
self.lblWC.setText(self.tr("{} words").format(wc))
self.locker.setWordCount(wc)
if not self.locker.isLocked():
if goal and not self.locker.isLocked():
if goal - wc > 0:
self.locker.spnWordTarget.setValue(goal - wc)

Binary file not shown.