Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(settings): Properly update taskbar on disconnect
Browse files Browse the repository at this point in the history
Fixes: #3795
  • Loading branch information
AliceGrey committed Oct 25, 2016
1 parent 1c2b271 commit 6e165ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widget/widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ void Widget::onConnected()
void Widget::onDisconnected()
{
ui->statusButton->setEnabled(false);
emit statusSet(Status::Offline);
emit Core::getInstance()->statusSet(Status::Offline);
}

void Widget::onFailedToStartCore()
Expand Down

0 comments on commit 6e165ce

Please sign in to comment.