summaryrefslogtreecommitdiff
path: root/portato/gui/gui_helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'portato/gui/gui_helper.py')
-rw-r--r--portato/gui/gui_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/gui/gui_helper.py b/portato/gui/gui_helper.py
index 28463a8..c6e6247 100644
--- a/portato/gui/gui_helper.py
+++ b/portato/gui/gui_helper.py
@@ -777,4 +777,4 @@ class EmergeQueue:
@returns: True if everything is empty and the process is not running.
@rtype: bool"""
- return not (self.mergequeue or self.unmergequeue or self.oneshotmerge or self.process)
+ return not (self.process or any(map(len, self.iters.itervalues())))