Fixed starting keyboard navigation (when no view has focus yet in which
case the window receives the keyboard message). This fixes bug #411. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17156 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
428dcd5b48
commit
a5c5697937
@ -600,8 +600,12 @@ BWindow::IsFront() const
|
||||
void
|
||||
BWindow::MessageReceived(BMessage *msg)
|
||||
{
|
||||
if (!msg->HasSpecifiers())
|
||||
if (!msg->HasSpecifiers()) {
|
||||
if (msg->what == B_KEY_DOWN)
|
||||
_KeyboardNavigation();
|
||||
|
||||
return BLooper::MessageReceived(msg);
|
||||
}
|
||||
|
||||
BMessage replyMsg(B_REPLY);
|
||||
bool handled = false;
|
||||
|
Loading…
Reference in New Issue
Block a user