summaryrefslogtreecommitdiff
path: root/src/main/python/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/python/main.py')
-rw-r--r--src/main/python/main.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/python/main.py b/src/main/python/main.py
index 7d72bae..ef52784 100644
--- a/src/main/python/main.py
+++ b/src/main/python/main.py
@@ -144,7 +144,9 @@ class appWindow(QMainWindow):
@property
def activeFiles(self):
- return [i for i in self.mdi.subWindowList() if i.tabCount]
+ for i in self.mdi.subWindowList():
+ if i.tabCount:
+ yield i
@property
def count(self):