Revert "ScreenSaver: ScrollToSelection off-by-one"
This reverts commit fb90f7ffe4
.
Underlying issue fixed in hrev46066
This commit is contained in:
parent
4efb0a6d36
commit
c315b2b18a
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user