aboutsummaryrefslogtreecommitdiff
path: root/src/ui/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/components')
-rw-r--r--src/ui/components/Menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/components/Menu.cpp b/src/ui/components/Menu.cpp
index 681b44b7..05324865 100644
--- a/src/ui/components/Menu.cpp
+++ b/src/ui/components/Menu.cpp
@@ -92,7 +92,7 @@ PopupMenu::PopupMenu(controls::Control* attached_control)
menu_ = new Menu();
- menu_->SetOnItemClick([this](Index _) { this->Close(); });
+ menu_->SetOnItemClick([this](Index) { this->Close(); });
popup_->AddChild(menu_->GetRootControl(), 0);
}