mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-09-21 17:08:12 +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();
|
getRegisteredExts();
|
||||||
getDefSupportedExts();
|
getDefSupportedExts();
|
||||||
writeNppPath();
|
|
||||||
//goToCenter();
|
//goToCenter();
|
||||||
::EnableWindow(::GetDlgItem(_hSelf, IDC_ADDFROMLANGEXT_BUTTON), false);
|
::EnableWindow(::GetDlgItem(_hSelf, IDC_ADDFROMLANGEXT_BUTTON), false);
|
||||||
::EnableWindow(::GetDlgItem(_hSelf, IDC_REMOVEEXT_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 :
|
case IDC_ADDFROMLANGEXT_BUTTON :
|
||||||
{
|
{
|
||||||
//int index2Add;
|
writeNppPath();
|
||||||
|
|
||||||
TCHAR ext2Add[extNameMax] = TEXT("");
|
TCHAR ext2Add[extNameMax] = TEXT("");
|
||||||
if (!_isCustomize)
|
if (!_isCustomize)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user