D24498: Properly check enabled state of Action for ActionToolBar buttons

Aleix Pol Gonzalez noreply at phabricator.kde.org
Tue Oct 8 14:54:42 BST 2019


apol added a comment.


  +1 otherwise

INLINE COMMENTS

> ActionToolBar.qml:126
>                      opacity: x + width <= parent.width
> -                    enabled: opacity
> +                    enabled: opacity && modelData.enabled
>  

I'd do the enabled && opacity, it feels very wrong using a real number as a boolean >.<.

REPOSITORY
  R169 Kirigami

BRANCH
  actiontoolbar_enable

REVISION DETAIL
  https://phabricator.kde.org/D24498

To: ahiemstra, #kirigami, ngraham
Cc: apol, plasma-devel, fbampaloukas, GB_2, domson, dkardarakos, ngraham, davidedmundson, mart, hein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191008/e5fcf085/attachment.html>


More information about the Plasma-devel mailing list