Closed anjosa closed 4 years ago
Thanks for creating this issue, I can confirm this happens (on Python 3 too). It only happens when a api.Category
is added.
Taking a look now.
It's the actionsIconVisible
that defines whether the icon should be visible or not. Which will instantly be enabled here as the Category
results in a special action that is set to "on=all" because that's the default for the Action class.
As such, the actionsIconVisible
checks should discard any Category
here and here. I'd say there must be at least one non-category related action available for the icon to be visible, for example with a change like this: any(action.__type__ == "action" for action in actions)
@mottosso does that sound like the way this should act?
@mottosso does that sound like the way this should act?
I suppose, can't really wrap my head around it atm.
@BigRoy @mottosso Hi both,
Tested the changes and can confirm it works! :+1:
Thank you very much! Will update and close it once PR is done :)
Hi all,
Having an issue with categories added to an action where the icon "A" is showed before evaluation. As such: https://imgur.com/a/8WpxgCJ
Using Python 2.7.9, latest version of Pyblish QML and PYQt5.
I have attached a simple example to replicate the problem:
Thank you very much! :)
Andre