forked from mia/Aegisub
Send text updated events when pasting into time edits
Originally committed to SVN as r6505.
This commit is contained in:
parent
7992009392
commit
7e87e95526
1 changed files with 4 additions and 0 deletions
|
@ -242,6 +242,10 @@ void TimeEdit::PasteTime() {
|
|||
if (tempTime.GetASSFormated() == text) {
|
||||
SetTime(tempTime);
|
||||
SetSelection(0, GetValue().size());
|
||||
|
||||
wxCommandEvent evt(wxEVT_COMMAND_TEXT_UPDATED, GetId());
|
||||
evt.SetEventObject(this);
|
||||
HandleWindowEvent(evt);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue