diff --git a/src/fswitch.cpp b/src/fswitch.cpp index 069fca31..4fafc072 100644 --- a/src/fswitch.cpp +++ b/src/fswitch.cpp @@ -12,6 +12,7 @@ //---------------------------------------------------------------------- FSwitch::FSwitch(FWidget* parent) : FToggleButton(parent) { + switch_offset_pos = 0; init(); }