Base+LibGUI: Add icon to the Rename action
This commit is contained in:
parent
6b68f16f2c
commit
4a396dc7e8
Notes:
sideshowbarker
2024-07-18 09:05:01 +09:00
Author: https://github.com/jakubiakdev 🔰 Commit: https://github.com/SerenityOS/serenity/commit/4a396dc7e83 Pull-request: https://github.com/SerenityOS/serenity/pull/8738
2 changed files with 1 additions and 1 deletions
BIN
Base/res/icons/16x16/rename.png
Normal file
BIN
Base/res/icons/16x16/rename.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 215 B |
|
@ -151,7 +151,7 @@ NonnullRefPtr<Action> make_select_all_action(Function<void(Action&)> callback, C
|
|||
|
||||
NonnullRefPtr<Action> make_rename_action(Function<void(Action&)> callback, Core::Object* parent)
|
||||
{
|
||||
return Action::create("Re&name", Key_F2, move(callback), parent);
|
||||
return Action::create("Re&name", Key_F2, Gfx::Bitmap::load_from_file("/res/icons/16x16/rename.png"), move(callback), parent);
|
||||
}
|
||||
|
||||
NonnullRefPtr<Action> make_properties_action(Function<void(Action&)> callback, Core::Object* parent)
|
||||
|
|
Loading…
Add table
Reference in a new issue