Add ESC key in Function List to switch to edit window
Fix #8886, close #8890
This commit is contained in:
parent
de202d9a14
commit
aaa93025f0
|
@ -575,6 +575,10 @@ void FunctionListPanel::notified(LPNMHDR notification)
|
|||
}
|
||||
PostMessage(_hParent, WM_COMMAND, SCEN_SETFOCUS << 16, reinterpret_cast<LPARAM>((*_ppEditView)->getHSelf()));
|
||||
}
|
||||
else if (ptvkd->wVKey == VK_ESCAPE)
|
||||
{
|
||||
PostMessage(_hParent, WM_COMMAND, SCEN_SETFOCUS << 16, reinterpret_cast<LPARAM>((*_ppEditView)->getHSelf()));
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue