diff options
author | Andreas Kling <kling@serenityos.org> | 2021-01-01 00:40:12 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-01 00:40:12 +0100 |
commit | 2e8db6560fd8f91d3eafe9c59b38b8d3bcb09eea (patch) | |
tree | 2f0847a9caf7a6b6c3fd0fd495b2cede5d67615e /CMakeLists.txt | |
parent | 5e19e72a6afa8522e454deae59a50ebc98ceef35 (diff) | |
download | serenity-2e8db6560fd8f91d3eafe9c59b38b8d3bcb09eea.zip |
LibGUI: Transfer focus when checking exclusive button programmatically
When calling set_checked(true) on an exclusive button, we will now
transfer focus to the newly checked button if one of its now-unchecked
siblings had focus before.
This makes windows that place initial focus somewhere in a group of
radio buttons look nicer when they show up, since focus will be on
whichever radio button was pre-checked, which may not be the first one
in the group.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions