Ticket #5445: readonlybootprompt.patch

File readonlybootprompt.patch, 570 bytes (added by idefix, 11 years ago)

(patch) Scroll to selection after list is added to a view.

  • src/apps/readonlybootprompt/BootPromptWindow.cpp

     
    130130        )
    131131    );
    132132
     133    fKeymapsListView->ScrollToSelection();
     134
    133135    CenterOnScreen();
    134136    Show();
    135137}
     
    338340        }
    339341    }
    340342
    341     fKeymapsListView->ScrollToSelection();
    342 
    343343    // Re-enable sending the selection message.
    344344    fKeymapsListView->SetSelectionMessage(
    345345        new BMessage(MSG_KEYMAP_SELECTED));