BOOL CSettingGitConfig::OnApply() { if (!m_bNeedSave) return TRUE; UpdateData(); if (!SafeData()) return FALSE; m_bNeedSave = false; SetModified(FALSE); return ISettingsPropPage::OnApply(); }
BOOL CSettingsBugtraqConfig::OnApply() { if (!m_bNeedSave) return TRUE; UpdateData(); if (!SafeData()) return FALSE; m_bNeedSave = false; SetModified(FALSE); return TRUE; }