void PropEditCtrlTxt::OnText(wxCommandEvent& event)
{
- if (CanSave()) WriteValue();
+ if (CanSave())
+ {
+ WriteValue();
+ EditorFrame::Get()->NotifyChanged(CHANGED_PROPS);
+ }
}
void PropEditCtrlBool::OnChoice(wxCommandEvent& event)
{
- if (CanSave()) WriteValue();
+ if (CanSave())
+ {
+ WriteValue();
+ EditorFrame::Get()->NotifyChanged(CHANGED_PROPS);
+ }
}
if (!s) return;
m_TextCtrl->SetValue(s);
WriteValue();
+ EditorFrame::Get()->NotifyChanged(CHANGED_PROPS);
}