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:
Jérôme Duval 2009-02-09 22:33:01 +00:00
parent fa9ec9b16b
commit c8530759dd
1 changed files with 2 additions and 0 deletions

View File

@ -226,6 +226,8 @@ KeymapWindow::AddMaps(BView *placeholderView)
bool
KeymapWindow::QuitRequested()
{
if (!IsActive())
return false;
be_app->PostMessage(B_QUIT_REQUESTED);
return true;
}