diff options
Diffstat (limited to 'LibGUI/GToolBar.cpp')
-rw-r--r-- | LibGUI/GToolBar.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/LibGUI/GToolBar.cpp b/LibGUI/GToolBar.cpp index 11939e9cd8..5fe39f3c6a 100644 --- a/LibGUI/GToolBar.cpp +++ b/LibGUI/GToolBar.cpp @@ -26,6 +26,7 @@ void GToolBar::add_action(Retained<GAction>&& action) item->action = move(action); auto* button = new GButton(this); + button->set_action(*item->action); button->set_tooltip(item->action->text()); if (item->action->icon()) button->set_icon(item->action->icon()); |