Actually fixes crashing on start up.

This commit is contained in:
Braden 2012-03-01 18:00:41 -06:00 committed by skidau
commit 82cb14e49b

View file

@ -636,8 +636,6 @@ void TASInputDlg::UpdateFromText(wxCommandEvent& event)
*v = (u8) (value > 255 ? 255 : value);
slider->SetValue(*v);
}
if(update == 1)
{
if(update_axis == 1)
@ -669,7 +667,7 @@ void TASInputDlg::UpdateFromText(wxCommandEvent& event)
}
}
}
}
void TASInputDlg::OnCloseWindow(wxCloseEvent& event)