FSwitch member variable switch_offset_pos was not initialized in the first constructor
This commit is contained in:
parent
4d67fc73bf
commit
a20a1d8b38
|
@ -12,6 +12,7 @@
|
|||
//----------------------------------------------------------------------
|
||||
FSwitch::FSwitch(FWidget* parent) : FToggleButton(parent)
|
||||
{
|
||||
switch_offset_pos = 0;
|
||||
init();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue