Dynamically add pipelines options, only if neo.txd exists

This commit is contained in:
erorcun 2020-12-27 23:26:00 +03:00
parent 637cff3180
commit 9afcc355ff
4 changed files with 37 additions and 24 deletions

View file

@ -3079,6 +3079,13 @@ CMenuManager::LoadSettings()
strcpy(m_PrefsSkinFile, DEFAULT_SKIN_NAME);
strcpy(m_aSkinName, DEFAULT_SKIN_NAME);
}
#ifdef CUSTOM_FRONTEND_OPTIONS
// Apparently this func. can be run multiple times at the start.
if (numCustomFrontendOptions == 0 && numCustomFrontendScreens == 0) {
CustomFrontendOptionsPopulate();
}
#endif
#ifdef LOAD_INI_SETTINGS
LoadINISettings(); // needs frontend options to be loaded
#endif