Revert r4684 as the change won't handle nonexistent styles correctly. updates #1232.

Originally committed to SVN as r4685.
This commit is contained in:
Amar Takhar 2010-07-17 21:08:53 +00:00
parent 6705e2fa61
commit f1ea264efc
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ void SubsEditBox::Update (bool timeOnly,bool weak) {
MarginV->SetValue(curdiag->GetMarginString(2,false)); MarginV->SetValue(curdiag->GetMarginString(2,false));
Effect->SetValue(curdiag->Effect); Effect->SetValue(curdiag->Effect);
CommentBox->SetValue(curdiag->Comment); CommentBox->SetValue(curdiag->Comment);
StyleBox->SetValue(curdiag->Style); StyleBox->Select(StyleBox->FindString(curdiag->Style));
ActorBox->SetValue(curdiag->Actor); ActorBox->SetValue(curdiag->Actor);
ActorBox->SetStringSelection(curdiag->Actor); ActorBox->SetStringSelection(curdiag->Actor);