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)
|
FSwitch::FSwitch(FWidget* parent) : FToggleButton(parent)
|
||||||
{
|
{
|
||||||
|
switch_offset_pos = 0;
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue