From d49358218b1947cb206f8fc60f2b5e86c4546204 Mon Sep 17 00:00:00 2001 From: mark feller Date: Mon, 4 Jan 2021 15:13:20 +0100 Subject: [PATCH] Add icon visibility for action enabled on "all" --- pyblish_lite/model.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyblish_lite/model.py b/pyblish_lite/model.py index a3c2401..2fe4888 100644 --- a/pyblish_lite/model.py +++ b/pyblish_lite/model.py @@ -224,6 +224,8 @@ def data(self, index, role): # Context specific actions for action in actions: + if action.on == "all": + return True if action.on == "failed" and item._has_failed: return True if action.on == "warning" and item._has_warning: