Skip to content

Commit

Permalink
Allow topmenu config file to sort with subcategories (#1757)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeakKS committed Feb 18, 2024
1 parent e262064 commit 06dcb99
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions extensions/topmenus/TopMenu.cpp
Expand Up @@ -1179,6 +1179,11 @@ SMCResult TopMenu::ReadSMC_NewSection(const SMCStates *states, const char *name)
}
}
}
else if (current_parse_state == PARSE_STATE_CATEGORY)
{
cur_cat->commands.push_back(m_Config.strings.AddString(name));
ignore_parse_level++;
}
else
{
ignore_parse_level = 1;
Expand Down

0 comments on commit 06dcb99

Please sign in to comment.