refactor(job_status): return early if the filename has not changed

This commit is contained in:
Alfredo Monclus committed 2024-07-09 20:18:30 -03:00
1 parent 8210a15e4b
commit 184d20ef98
1 file changed
+1 -1
+1 -1
View File
@@ -785,7 +785,7 @@ class Panel(ScreenPanel):
self._gtk.remove_dialog(dialog)
def update_filename(self, filename):
if not filename:
if not filename or filename == self.filename:
return
if self.animation_timeout is not None:
GLib.source_remove(self.animation_timeout)