fix: custom switches startup position need to be loaded on model change (#4809)

This commit is contained in:
3djc
2024-03-26 07:07:36 +10:00
committed by GitHub
parent 90e88fd49e
commit b0ef60f8dc
+4
View File
@@ -181,6 +181,10 @@ void postModelLoad(bool alarms)
g_model.modelGVDisabled = false;
#endif
#if defined(FUNCTION_SWITCHES)
setFSStartupPosition();
#endif
// Convert 'noGlobalFunctions' to 'radioGFDisabled'
// TODO: Remove sometime in the future (and remove 'noGlobalFunctions' property)
if (g_model.noGlobalFunctions) {