mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-09-21 08:58:06 +02:00
[BUG_FIXED] Fix writing a key in registry while preference dialog launches
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@357 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
8f03512943
commit
e7a0a07fa9
@ -62,7 +62,6 @@ BOOL CALLBACK RegExtDlg::run_dlgProc(UINT Message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
getRegisteredExts();
|
||||
getDefSupportedExts();
|
||||
writeNppPath();
|
||||
//goToCenter();
|
||||
::EnableWindow(::GetDlgItem(_hSelf, IDC_ADDFROMLANGEXT_BUTTON), false);
|
||||
::EnableWindow(::GetDlgItem(_hSelf, IDC_REMOVEEXT_BUTTON), false);
|
||||
@ -85,7 +84,8 @@ BOOL CALLBACK RegExtDlg::run_dlgProc(UINT Message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
case IDC_ADDFROMLANGEXT_BUTTON :
|
||||
{
|
||||
//int index2Add;
|
||||
writeNppPath();
|
||||
|
||||
TCHAR ext2Add[extNameMax] = TEXT("");
|
||||
if (!_isCustomize)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user