fix missing variable

This commit is contained in:
iLLiCiTiT 2020-06-17 15:22:46 +02:00
parent d3794478a9
commit 0c41983e12

View file

@ -762,8 +762,8 @@ class Window(QtWidgets.QDialog):
)
def on_was_stopped(self):
errored = self.controller.errored
if self.controller.collected:
errored = self.controller.errored
self.footer_button_play.setEnabled(not errored)
self.footer_button_validate.setEnabled(
not errored and not self.controller.validated