More buttons for debug help window

This commit is contained in:
2025-02-28 09:00:59 -06:00
committed by Celtic Minstrel
parent b4af09c548
commit 1d63e76c26
2 changed files with 9 additions and 2 deletions

View File

@@ -2421,9 +2421,11 @@ void show_debug_help() {
});
}
}
for(; idx < 30; ++idx){
for(; ; ++idx){
std::ostringstream btn_name;
btn_name << "btn" << (idx+1);
if(!debug_panel.hasControl(btn_name.str()))
break;
cControl& button = debug_panel[btn_name.str()];
button.hide();
}