Before MainWindow showPlayerBarPanel changes