20,741
edits
Line 210: | Line 210: | ||
SGOptional(const char* p) : _toggle_switch(p) { | SGOptional(const char* p) : _toggle_switch(p) { | ||
fgAddChangeListener(p, this); | fgAddChangeListener(p, this); | ||
valueChanged(); // pick up initial property value (i.e. --prop args) | |||
} | } | ||