mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 06:48:49 +00:00
GMenu: Update apps now that you can create a nameless GMenu
We had many context menus with names, simply because you were forced to give them names.
This commit is contained in:
parent
5eb2c138e2
commit
11f2e7cd5c
Notes:
sideshowbarker
2024-07-19 12:07:28 +09:00
Author: https://github.com/awesomekling
Commit: 11f2e7cd5c
7 changed files with 7 additions and 7 deletions
|
@ -489,7 +489,7 @@ GMenu& GTableView::ensure_header_context_menu()
|
|||
// or if the column count/names change.
|
||||
if (!m_header_context_menu) {
|
||||
ASSERT(model());
|
||||
m_header_context_menu = make<GMenu>("");
|
||||
m_header_context_menu = make<GMenu>();
|
||||
|
||||
for (int column = 0; column < model()->column_count(); ++column) {
|
||||
auto& column_data = this->column_data(column);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue