|
@@ -26,7 +26,7 @@ VBForm::VBForm(const String& name, GWidget* parent)
|
|
|
set_background_color(Color::WarmGray);
|
|
|
set_greedy_for_hits(true);
|
|
|
|
|
|
- m_context_menu = make<GMenu>("Context menu");
|
|
|
+ m_context_menu = make<GMenu>();
|
|
|
m_context_menu->add_action(GAction::create("Move to front", [this](auto&) {
|
|
|
if (auto* widget = single_selected_widget())
|
|
|
widget->gwidget()->move_to_front();
|