fix: custom switches startup position need to be loaded on model change (#4809)
This commit is contained in:
@@ -181,6 +181,10 @@ void postModelLoad(bool alarms)
|
|||||||
g_model.modelGVDisabled = false;
|
g_model.modelGVDisabled = false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(FUNCTION_SWITCHES)
|
||||||
|
setFSStartupPosition();
|
||||||
|
#endif
|
||||||
|
|
||||||
// Convert 'noGlobalFunctions' to 'radioGFDisabled'
|
// Convert 'noGlobalFunctions' to 'radioGFDisabled'
|
||||||
// TODO: Remove sometime in the future (and remove 'noGlobalFunctions' property)
|
// TODO: Remove sometime in the future (and remove 'noGlobalFunctions' property)
|
||||||
if (g_model.noGlobalFunctions) {
|
if (g_model.noGlobalFunctions) {
|
||||||
|
|||||||
Reference in New Issue
Block a user