ensure filename variable exists for all code paths

This commit is contained in:
Ryan Flynn
2016-10-22 23:37:33 -04:00
parent 616435d8a2
commit 5ae63c09cd
+1
View File
@@ -907,6 +907,7 @@ class MainWindow(QMainWindow, WindowMixin):
if len(self.mImgList) <= 0:
return
filename = None
if self.filename is None:
filename = self.mImgList[0]
else: