MCPcopy Create free account
hub / github.com/Entware/Entware / testUpdateMenu

Method testUpdateMenu

scripts/config/qconf.cc:183–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183void ConfigItem::testUpdateMenu(bool v)
184{
185 ConfigItem* i;
186
187 visible = v;
188 if (!menu)
189 return;
190
191 sym_calc_value(menu->sym);
192 if (menu->flags & MENU_CHANGED) {
193 /* the menu entry changed, so update all list items */
194 menu->flags &= ~MENU_CHANGED;
195 for (i = (ConfigItem*)menu->data; i; i = i->nextItem)
196 i->updateMenu();
197 } else if (listView()->updateAll)
198 updateMenu();
199}
200
201
202/*

Callers 2

updateListMethod · 0.80
updateMenuListMethod · 0.80

Calls 2

sym_calc_valueFunction · 0.85
updateMenuMethod · 0.80

Tested by

no test coverage detected