From 297d42cdb650f70a190d0760c7f073da914e5982 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 21 Sep 2020 18:33:31 +0300 Subject: fixes #2573 (Autoexec system cannot import settings with slashes) --- src/mir_app/res/resource.rc | 2 +- src/mir_app/src/db_ini.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mir_app/res/resource.rc b/src/mir_app/res/resource.rc index ca1294b5ca..abf6aa3657 100644 --- a/src/mir_app/res/resource.rc +++ b/src/mir_app/res/resource.rc @@ -199,7 +199,7 @@ BEGIN LTEXT "Do you want to allow this change?",IDC_STATIC,5,71,177,8 CONTROL "&Allow all further changes to this section",IDC_WARNNOMORE, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,80,169,10 - DEFPUSHBUTTON "&Yes",IDYES,5,94,50,14 + DEFPUSHBUTTON "&Yes",IDOK,5,94,50,14 PUSHBUTTON "&No",IDNO,59,94,50,14 PUSHBUTTON "Cancel import",IDCANCEL,123,94,59,14 END diff --git a/src/mir_app/src/db_ini.cpp b/src/mir_app/src/db_ini.cpp index f7122100e0..d78854af2c 100644 --- a/src/mir_app/src/db_ini.cpp +++ b/src/mir_app/src/db_ini.cpp @@ -168,7 +168,7 @@ protected: public: CWarnIniChangeDlg(warnSettingChangeInfo_t *warnInfo) : CDlgBase(g_plugin, IDD_WARNINICHANGE), - m_yes(this, IDYES), m_no(this, IDNO), + m_yes(this, IDOK), m_no(this, IDNO), m_noWarn(this, IDC_WARNNOMORE), m_iniName(this, IDC_ININAME), m_settingName(this, IDC_SETTINGNAME), m_newValue(this, IDC_NEWVALUE), m_securityInfo(this, IDC_SECURITYINFO) -- cgit v1.2.3