forked from mia/Aegisub
Coalesce typing in the Actor box (but not selections from the dropdown)
Originally committed to SVN as r6539.
This commit is contained in:
parent
94b3764a91
commit
b64e1f925c
1 changed files with 3 additions and 2 deletions
|
@ -516,8 +516,9 @@ void SubsEditBox::OnStyleChange(wxCommandEvent &) {
|
||||||
SetSelectedRows(&AssDialogue::Style, StyleBox->GetValue(), _("style change"), AssFile::COMMIT_DIAG_META);
|
SetSelectedRows(&AssDialogue::Style, StyleBox->GetValue(), _("style change"), AssFile::COMMIT_DIAG_META);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SubsEditBox::OnActorChange(wxCommandEvent &) {
|
void SubsEditBox::OnActorChange(wxCommandEvent &evt) {
|
||||||
SetSelectedRows(&AssDialogue::Actor, ActorBox->GetValue(), _("actor change"), AssFile::COMMIT_DIAG_META);
|
bool amend = evt.GetEventType() == wxEVT_COMMAND_TEXT_UPDATED;
|
||||||
|
SetSelectedRows(&AssDialogue::Actor, ActorBox->GetValue(), _("actor change"), AssFile::COMMIT_DIAG_META, amend);
|
||||||
PopulateActorList();
|
PopulateActorList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue