refactor(job_status): return early if the filename has not changed
This commit is contained in:
1 parent
8210a15e4b
commit
184d20ef98
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user