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

View file

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