summaryrefslogtreecommitdiffstats
path: root/app/menus/menu_model.cc
diff options
context:
space:
mode:
Diffstat (limited to 'app/menus/menu_model.cc')
-rw-r--r--app/menus/menu_model.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/menus/menu_model.cc b/app/menus/menu_model.cc
index 63acbf6..cbce228 100644
--- a/app/menus/menu_model.cc
+++ b/app/menus/menu_model.cc
@@ -6,6 +6,10 @@
namespace menus {
+bool MenuModel::IsVisibleAt(int index) const {
+ return true;
+}
+
bool MenuModel::GetModelAndIndexForCommandId(int command_id,
MenuModel** model, int* index) {
int item_count = (*model)->GetItemCount();