mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
GUI: Set tooltip of local webserver button according to server state
This commit is contained in:
parent
37859a9203
commit
9665719b66
@ -1893,6 +1893,7 @@ void GlobalOptionsDialog::setupCloudTab() {
|
||||
_runServerButton->setVisible(true);
|
||||
_runServerButton->setPos(_runServerButton->getRelX(), serverLabelPosition + serverButtonY - serverInfoY);
|
||||
_runServerButton->setLabel(_(serverIsRunning ? "Stop server" : "Run server"));
|
||||
_runServerButton->setTooltip(_(serverIsRunning ? "Stop local webserver" : "Run local webserver"));
|
||||
}
|
||||
if (_serverInfoLabel) {
|
||||
_serverInfoLabel->setVisible(true);
|
||||
|
Loading…
Reference in New Issue
Block a user