Merge pull request #14145 from spowelljr/fixTrayPause
GUI: Fix pause tray button having wrong textpull/14154/head
commit
32e0f0a375
|
|
@ -593,7 +593,7 @@ void Window::updateTrayActions(Cluster cluster)
|
||||||
bool isPaused = cluster.status() == "Paused";
|
bool isPaused = cluster.status() == "Paused";
|
||||||
pauseAction->setEnabled(isRunning || isPaused);
|
pauseAction->setEnabled(isRunning || isPaused);
|
||||||
stopAction->setEnabled(isRunning || isPaused);
|
stopAction->setEnabled(isRunning || isPaused);
|
||||||
pauseAction->setText(getPauseLabel(isRunning));
|
pauseAction->setText(getPauseLabel(isPaused));
|
||||||
startAction->setText(getStartLabel(isRunning));
|
startAction->setText(getStartLabel(isRunning));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue