mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 16:42:10 +02:00
When a GAction is activated by a menu, or by a toolbar button, you can now use GAction::activator() to get a pointer to whomever activated it. This can be used to implement context-specific behaviors in situations where the same action is exposed through multiple paths. This addresses an issue that was brought up in #826.
10 KiB
10 KiB