diff options
author | angel <angel@ttm.sh> | 2020-04-20 21:10:03 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-20 22:43:40 +0200 |
commit | 441c2715bbb50e0063e827ae37c40f58865993d6 (patch) | |
tree | ef52dcf5661deab24b3d2aaa2bef34074343cc7f /Base/res/icons/16x16/select-all.png | |
parent | 563a377f6b5da578673f7c645d6f904505148cc1 (diff) | |
download | serenity-441c2715bbb50e0063e827ae37c40f58865993d6.zip |
LibGUI: Add Select all action to TextEditor
Previously, TextEditor processed the Select all command directly on the
keydown event handler. For this reason, WindowManager would not process
it as an action for the focused control and an action with the same
keyboard shortcut from the parent could override the TextEditor's one
even when it is focused.
For instance, when pressing Ctrl+A on the FileManager's path bar, all
files were selected instead, which is not the expected behavior.
Now the Select all command is an actual action on TextEditor, so that
WindowManager can process it correctly before any other actions. I also
added an icon for it!
Diffstat (limited to 'Base/res/icons/16x16/select-all.png')
-rw-r--r-- | Base/res/icons/16x16/select-all.png | bin | 0 -> 1311 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/Base/res/icons/16x16/select-all.png b/Base/res/icons/16x16/select-all.png Binary files differnew file mode 100644 index 0000000000..f3f01b3c18 --- /dev/null +++ b/Base/res/icons/16x16/select-all.png |