Base+LibGUI: Add icon to the Rename action

This commit is contained in:
jakubiakdev 2021-07-14 12:30:59 +02:00 committed by Andreas Kling
parent 6b68f16f2c
commit 4a396dc7e8
Notes: sideshowbarker 2024-07-18 09:05:01 +09:00
2 changed files with 1 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

View file

@ -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)