mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
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…
x
Reference in New Issue
Block a user