Set the style dropdown's value after undo

Originally committed to SVN as r5763.
This commit is contained in:
Thomas Goyne 2011-10-23 17:00:32 +00:00
parent f29e889776
commit c1de03210d

View file

@ -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) {