Allow topmenu config file to sort with subcategories (#1757)
This commit is contained in:
parent
e262064fd8
commit
06dcb991e8
@ -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
|
else
|
||||||
{
|
{
|
||||||
ignore_parse_level = 1;
|
ignore_parse_level = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user