Revert "ScreenSaver: ScrollToSelection off-by-one"

This reverts commit fb90f7ffe4.

Underlying issue fixed in hrev46066
This commit is contained in:
John Scipione 2013-09-16 18:45:56 -04:00 committed by Rene Gollent
parent 4efb0a6d36
commit c315b2b18a

View File

@ -583,8 +583,6 @@ ModulesView::DetachedFromWindow()
void
ModulesView::AttachedToWindow()
{
PopulateScreenSaverList();
fScreenSaversListView->SetTarget(this);
fTestButton->SetTarget(this);
fAddButton->SetTarget(this);
@ -594,8 +592,7 @@ ModulesView::AttachedToWindow()
void
ModulesView::AllAttached()
{
fScreenSaversListView->ScrollToSelection();
// This only works after the list view is attached
PopulateScreenSaverList();
fScreenSaversListView->Invoke(new BMessage(kMsgSaverSelected));
}