forked from mia/Aegisub
Fix #599, the wrong overload for wxSpinCtrl::SetValue was used causing only the edit control part to be updated.
Originally committed to SVN as r2996.
This commit is contained in:
parent
9e22e1456c
commit
d7d07dc797
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ void SubsEditBox::Update (bool timeOnly,bool weak) {
|
||||||
Duration->Update();
|
Duration->Update();
|
||||||
if (!timeOnly) {
|
if (!timeOnly) {
|
||||||
TextEdit->SetTextTo(curdiag->Text);
|
TextEdit->SetTextTo(curdiag->Text);
|
||||||
Layer->SetValue(wxString::Format(_T("%i"),curdiag->Layer));
|
Layer->SetValue(curdiag->Layer);
|
||||||
MarginL->SetValue(curdiag->GetMarginString(0,false));
|
MarginL->SetValue(curdiag->GetMarginString(0,false));
|
||||||
MarginR->SetValue(curdiag->GetMarginString(1,false));
|
MarginR->SetValue(curdiag->GetMarginString(1,false));
|
||||||
MarginV->SetValue(curdiag->GetMarginString(2,false));
|
MarginV->SetValue(curdiag->GetMarginString(2,false));
|
||||||
|
|
Loading…
Reference in a new issue