mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-14 21:09:05 +08:00
+ fix: manual entry for "Suppressed Messages" set as '-1' will hide checkbox for "Don't display again"
This commit is contained in:
parent
7ec585353b
commit
803fc680d8
@ -1 +1 @@
|
||||
2517
|
||||
2518
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<assemblyIdentity
|
||||
name="Notepad3"
|
||||
processorArchitecture="*"
|
||||
version="5.19.730.2517"
|
||||
version="5.19.730.2518"
|
||||
type="win32"
|
||||
/>
|
||||
<description>Notepad3 RC2</description>
|
||||
|
||||
@ -285,8 +285,13 @@ INT_PTR InfoBoxLng(UINT uType, LPCWSTR lpstrSetting, UINT uidMsg, ...)
|
||||
case IDYES:
|
||||
case IDCONTINUE:
|
||||
return iMode;
|
||||
|
||||
case 0:
|
||||
// no entry found
|
||||
case -1:
|
||||
// disable "Don't display again" check-box
|
||||
break;
|
||||
|
||||
default:
|
||||
IniFileDelete(Globals.IniFile, Constants.SectionSuppressedMessages, lpstrSetting, false);
|
||||
break;
|
||||
@ -335,7 +340,7 @@ INT_PTR InfoBoxLng(UINT uType, LPCWSTR lpstrSetting, UINT uidMsg, ...)
|
||||
}
|
||||
|
||||
msgBox.lpstrSetting = (LPWSTR)lpstrSetting;
|
||||
msgBox.bDisableCheckBox = (StrIsEmpty(Globals.IniFile) || StrIsEmpty(lpstrSetting)) ? true : false;
|
||||
msgBox.bDisableCheckBox = (StrIsEmpty(Globals.IniFile) || StrIsEmpty(lpstrSetting) || (iMode < 0) ? true : false;
|
||||
|
||||
|
||||
int idDlg;
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
#define VERSION_MAJOR 5
|
||||
#define VERSION_MINOR 19
|
||||
#define VERSION_REV 730
|
||||
#define VERSION_BUILD 2517
|
||||
#define VERSION_BUILD 2518
|
||||
#define SCINTILLA_VER 420
|
||||
#define ONIGURUMA_REGEX_VER 6.9.3
|
||||
#define VERSION_PATCH RC2
|
||||
|
||||
Loading…
Reference in New Issue
Block a user