mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
* Fixed loveButton not being re-enabled again.
This commit is contained in:
@@ -298,9 +298,11 @@ AudioControls::onPlaybackLoading( const Tomahawk::result_ptr& result )
|
|||||||
ui->pauseButton->setVisible( true );
|
ui->pauseButton->setVisible( true );
|
||||||
ui->playPauseButton->setVisible( false );
|
ui->playPauseButton->setVisible( false );
|
||||||
ui->playPauseButton->setEnabled( false );
|
ui->playPauseButton->setEnabled( false );
|
||||||
|
ui->loveButton->setEnabled( true );
|
||||||
|
ui->loveButton->setVisible( true );
|
||||||
|
|
||||||
result->loadSocialActions();
|
result->loadSocialActions();
|
||||||
ui->loveButton->setVisible( true );
|
|
||||||
if ( result->loved() )
|
if ( result->loved() )
|
||||||
{
|
{
|
||||||
ui->loveButton->setPixmap( RESPATH "images/loved.png" );
|
ui->loveButton->setPixmap( RESPATH "images/loved.png" );
|
||||||
|
Reference in New Issue
Block a user