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.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/portato/gui/gui_helper.py b/portato/gui/gui_helper.py
index e827a22..358f56e 100644
--- a/portato/gui/gui_helper.py
+++ b/portato/gui/gui_helper.py
@@ -459,9 +459,11 @@ class EmergeQueue:
self.title_update(title)
time.sleep(0.5)
-
if self.title_update: self.title_update(None)
+ if self.process is None: # someone resetted this
+ return
+
@plugin.hook("after_emerge", packages = packages, retcode = self.process.returncode)
def update_packages():
for p in packages: