Merge pull request #23 from rflynn/ensure-filename-defined

ensure filename variable exists for all code paths
This commit is contained in:
darrenl
2016-10-24 09:18:42 +08:00
committed by GitHub
+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: