[Cuis-dev] Bugfix: Apply enabledSelector to both menu items and shortcuts
Joel Camera
joel.camera at 10pines.com
Tue Oct 28 12:50:08 PDT 2025
Hi folks!
Here I’m bringing a bugfix related to the menu and shortcut specs.
The enabledSelector was only being applied to menu items, but not to
shortcuts.
This could cause inconsistencies like the one shown in the Test-Changeset:
I created a new SystemWindow with a menu spec that has a shortcut, and when
the enabledSelector returns false, the menu item appears disabled — but the
action can still be triggered through the shortcut.
Have a nice day!
<https://10pines.com/>Joel CámeraAgile Software Development
Alem 896, Floor 6, Buenos Aires, Argentina
+54 9 011 6091 3125
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20251028/dad32a02/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7664-CuisCore-JoelEstebanCamera-2025Oct20-12h24m-JEC.001.cs.st
Type: application/octet-stream
Size: 4134 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20251028/dad32a02/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test-ChangeSet.cs.st
Type: application/octet-stream
Size: 859 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20251028/dad32a02/attachment-0001.obj>
More information about the Cuis-dev
mailing list