Patch by idefix that fixes scrolling the keymap list to the current entry

when the window is first opened. Thanks! Fixes #5445.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35570 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2010-02-21 21:59:27 +00:00
parent b2e1893c6e
commit 45912b67a3

View File

@ -130,6 +130,10 @@ BootPromptWindow::BootPromptWindow()
)
);
// This call in the first _PopulateKeymaps had no effect yet, since the
// list wasn't attatched to the window yet.
fKeymapsListView->ScrollToSelection();
CenterOnScreen();
Show();
}