Commit 74124a0d authored by Michael Pyne's avatar Michael Pyne

Fix GUI flaws on startup.

Kind of embarassing it took so long to track down why multiple
seemingly-random PlaylistBox::Items were selected.
parent 69bdb8a0
......@@ -742,6 +742,8 @@ void PlaylistBox::slotLoadCachedPlaylists()
connect(m_savePlaylistTimer, SIGNAL(timeout()), SLOT(slotSavePlaylists()));
emit startupComplete();
clearSelection();
setSelected(m_playlistDict[CollectionList::instance()], true);
}
////////////////////////////////////////////////////////////////////////////////
// PlaylistBox::Item protected methods
......
......@@ -248,6 +248,7 @@ void PlaylistSplitter::setupLayout()
topLayout->addWidget(m_nowPlaying);
topLayout->addWidget(m_searchWidget);
topLayout->insertStretch(-1); // Force search bar to top while playlistStack hides
topLayout->addWidget(m_playlistStack, 1);
// Now that GUI setup is complete, add some auto-update signals.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment