mirror of https://github.com/odrling/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
fa73db1bf1
commit
db27d770f6
|
@ -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 New Issue