mirror of https://github.com/odrling/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
|
@ -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 New Issue