mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-03 14:16:46 -06:00
Docking Package: Fixed bug blocking key events from main window
git-svn-id: svn://ultimatepp.org/upp/trunk@2314 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
86eea008ef
commit
79ba675313
1 changed files with 3 additions and 2 deletions
|
|
@ -250,8 +250,9 @@ void DockCont::ChildAdded(Ctrl *child)
|
|||
|
||||
bool DockCont::Key(dword key, int count)
|
||||
{
|
||||
PostCallback(callback1(base, &DockWindow::DoHotKeys, key));
|
||||
return true;
|
||||
if (!IsDocked())
|
||||
PostCallback(callback1(base, &DockWindow::DoHotKeys, key));
|
||||
return !IsDocked();
|
||||
}
|
||||
|
||||
// The use of Single<> here is bad form, but I am unable to declare it a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue