[BUG_FIXED] Fix Preferences dialog loses focus issue (closes ##674)
Fix Preferences dialog loses focus while enabling "Show Docment List Panel" bug.
This commit is contained in:
parent
ae29f305ea
commit
0844123b44
@ -402,6 +402,7 @@ INT_PTR CALLBACK BarsDlg::run_dlgProc(UINT Message, WPARAM wParam, LPARAM)
|
||||
{
|
||||
bool isChecked = (BST_CHECKED == ::SendDlgItemMessage(_hSelf, IDC_CHECK_DOCSWITCH, BM_GETCHECK, 0, 0));
|
||||
::SendMessage(::GetParent(_hParent), NPPM_SHOWDOCSWITCHER, 0, isChecked?TRUE:FALSE);
|
||||
getFocus();
|
||||
}
|
||||
return TRUE;
|
||||
case IDC_CHECK_DOCSWITCH_NOEXTCOLUMN :
|
||||
|
Loading…
Reference in New Issue
Block a user