FSwitch member variable switch_offset_pos was not initialized in the first constructor

This commit is contained in:
Markus Gans 2015-07-18 21:14:23 +02:00
parent 4d67fc73bf
commit a20a1d8b38
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@
//----------------------------------------------------------------------
FSwitch::FSwitch(FWidget* parent) : FToggleButton(parent)
{
switch_offset_pos = 0;
init();
}