Fix function list focus problem on double clicking

Change focus to edit window after activating function in function list

Fix #4356, close #8370
pull/8420/head
Udo Hoffmann 5 years ago committed by Don HO
parent 592acc3a68
commit 5e76ba238e
No known key found for this signature in database
GPG Key ID: 6C429F1D8D84F46E

@ -557,6 +557,7 @@ void FunctionListPanel::notified(LPNMHDR notification)
case NM_DBLCLK:
{
openSelection(treeView);
PostMessage(_hParent, WM_COMMAND, SCEN_SETFOCUS << 16, reinterpret_cast<LPARAM>((*_ppEditView)->getHSelf()));
}
break;
@ -570,7 +571,9 @@ void FunctionListPanel::notified(LPNMHDR notification)
{
HTREEITEM hItem = treeView.getSelection();
treeView.toggleExpandCollapse(hItem);
break;
}
PostMessage(_hParent, WM_COMMAND, SCEN_SETFOCUS << 16, reinterpret_cast<LPARAM>((*_ppEditView)->getHSelf()));
}
}
break;

Loading…
Cancel
Save