Fixed the jump to dialog never displaying anything but 0 in the hour column. Updates #1003.

Originally committed to SVN as r3668.
This commit is contained in:
harukalover 2009-10-09 19:43:43 +00:00
parent 14e2d9ad12
commit 36386e74fc
2 changed files with 1 additions and 2 deletions

View file

@ -202,7 +202,7 @@ void DialogJumpTo::OnEditFrame (wxCommandEvent &event) {
int newtime = VFR_Output.GetTimeAtFrame(jumpframe,true,true);
if (jumptime.GetMS() != newtime) {
jumptime.SetMS(newtime);
JumpTime->SetValue(jumptime.GetASSFormated());
JumpTime->ChangeValue(jumptime.GetASSFormated());
}
ready = true;

View file

@ -108,7 +108,6 @@ wxTextCtrl(parent,id,value,pos,size,TimeEditWindowStyle | style,validator,name)
isEnd = false;
modified = false;
showModified = false;
UpdateTime();
Connect(wxEVT_COMMAND_TEXT_UPDATED,wxCommandEventHandler(TimeEdit::OnModified));
Connect(wxEVT_KILL_FOCUS,wxFocusEventHandler(TimeEdit::OnKillFocus));
}