job_status: add check to label animate
This commit is contained in:
1 parent
9bc75729d6
commit
3b010e6901
1 file changed
+2
@@ -780,6 +780,8 @@ class Panel(ScreenPanel):
|
||||
self.update_file_metadata()
|
||||
|
||||
def animate_label(self):
|
||||
if not self.filename_label:
|
||||
return False
|
||||
ellipsized = self.labels['file'].get_layout().is_ellipsized()
|
||||
if ellipsized:
|
||||
self.filename_label['current'] = self.filename_label['current'][2:]
|
||||
|
||||
Reference in new issue
Block a user