mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
Fix listen along menu not resetting when you stop listening along
This commit is contained in:
@@ -167,7 +167,7 @@ SourceTreeView::setupMenus()
|
|||||||
if ( pi && dynamic_cast< SourcePlaylistInterface* >( pi ) )
|
if ( pi && dynamic_cast< SourcePlaylistInterface* >( pi ) )
|
||||||
{
|
{
|
||||||
SourcePlaylistInterface* sourcepi = 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_latchOnAction->setText( tr( "&Catch Up" ) );
|
||||||
m_latchMenu.addSeparator();
|
m_latchMenu.addSeparator();
|
||||||
|
Reference in New Issue
Block a user