fix #3414. Quits when the window is active.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29176 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fa9ec9b16b
commit
c8530759dd
@ -226,6 +226,8 @@ KeymapWindow::AddMaps(BView *placeholderView)
|
||||
bool
|
||||
KeymapWindow::QuitRequested()
|
||||
{
|
||||
if (!IsActive())
|
||||
return false;
|
||||
be_app->PostMessage(B_QUIT_REQUESTED);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user