1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-23 01:09:42 +01:00

Fix listen along menu not resetting when you stop listening along

This commit is contained in:
Jeff Mitchell 2011-08-25 22:57:14 -04:00
parent 6dde11c89a
commit 01b199c4a8

View File

@ -167,7 +167,7 @@ SourceTreeView::setupMenus()
if ( pi && dynamic_cast< SourcePlaylistInterface* >( pi ) )
{
SourcePlaylistInterface* sourcepi = dynamic_cast< SourcePlaylistInterface* >( pi );
if ( !sourcepi->source().isNull() && sourcepi->source()->id() == source->id() )
if ( !sourcepi->source().isNull() && sourcepi->source()->id() == source->id() && !AudioEngine::instance()->state() == AudioEngine::Stopped )
{
m_latchOnAction->setText( tr( "&Catch Up" ) );
m_latchMenu.addSeparator();