[Cuis-dev] Bugfix: Apply enabledSelector to both menu items and shortcuts
Juan Vuletich
juan at cuis.st
Tue Oct 28 14:18:59 PDT 2025
Hi Joel,
Just integrated the fix. Thanks!
Not sure how to integrate the test changeset, though.
Cheers,
On 2025-10-28 4:50 PM, Joel Camera via Cuis-dev wrote:
> 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ámera
>
>
> Agile Software Development
>
>
> Alem 896, Floor 6, Buenos Aires, Argentina
>
> +54 9 011 6091 3125
>
>
--
Juan Vuletich
www.cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20251028/2318a7fe/attachment.htm>
More information about the Cuis-dev
mailing list