mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 08:57:35 +00:00
Browser: Share one BookmarksBarWidget between all Tabs
This commit is contained in:
parent
dc6b61dbcc
commit
bd45b2b8d3
7 changed files with 93 additions and 50 deletions
|
@ -43,6 +43,13 @@ WindowActions::WindowActions(GUI::Window& window)
|
|||
on_about();
|
||||
},
|
||||
&window);
|
||||
m_show_bookmarks_bar_action = GUI::Action::create_checkable(
|
||||
"Show bookmarks bar",
|
||||
[this](auto& action) {
|
||||
if (on_show_bookmarks_bar)
|
||||
on_show_bookmarks_bar(action);
|
||||
},
|
||||
&window);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue