mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-04-30 11:02:28 +12:00
Bug correction: fullscreen mode doesn't work if scene goal is not set
This commit is contained in:
parent
95cadf71c4
commit
9feb0776b6
|
@ -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.
Loading…
Reference in a new issue