mirror of https://github.com/odrling/Aegisub
Set the style dropdown's value after undo
Originally committed to SVN as r5763.
This commit is contained in:
parent
f29e889776
commit
c1de03210d
|
@ -341,6 +341,7 @@ void SubsEditBox::Update(int type) {
|
|||
if (type == AssFile::COMMIT_NEW || type & AssFile::COMMIT_STYLES) {
|
||||
StyleBox->Clear();
|
||||
StyleBox->Append(c->ass->GetStyles());
|
||||
StyleBox->Select(StyleBox->FindString(line->Style));
|
||||
}
|
||||
|
||||
if (type == AssFile::COMMIT_NEW) {
|
||||
|
|
Loading…
Reference in New Issue