MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / reset_settings

Method reset_settings

src/ui/SettingsDialog.cpp:213–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213void AdvancedSettingsTab::reset_settings() {
214 if (MessageBox(_hParent, rc_str(IDS_RESET_SETTINGS_TEXT).c_str(), rc_str(IDS_RESET_SETTINGS_CAPTION).c_str(), MB_YESNO) == IDNO)
215 return;
216 auto mut = m_settings.modify();
217 IniWorker worker{L"", L"", IniWorker::Action::load};
218 mut->process(worker);
219}
220
221INT_PTR SimpleSettingsTab::run_dlg_proc(UINT message, WPARAM w_param, LPARAM l_param) {
222 wchar_t *end_ptr;

Callers

nothing calls this directly

Calls 4

rc_strFunction · 0.85
c_strMethod · 0.80
modifyMethod · 0.45
processMethod · 0.45

Tested by

no test coverage detected