Merge pull request #14145 from spowelljr/fixTrayPause

GUI: Fix pause tray button having wrong text
pull/14154/head
Steven Powell 2022-05-12 10:35:16 -07:00 committed by GitHub
commit 32e0f0a375
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -593,7 +593,7 @@ void Window::updateTrayActions(Cluster cluster)
bool isPaused = cluster.status() == "Paused";
pauseAction->setEnabled(isRunning || isPaused);
stopAction->setEnabled(isRunning || isPaused);
pauseAction->setText(getPauseLabel(isRunning));
pauseAction->setText(getPauseLabel(isPaused));
startAction->setText(getStartLabel(isRunning));
}