aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorPeter Bozsó2016-07-26 19:08:08 +0200
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit9665719b6624904d05202284e5fc4024cb827332 (patch)
treed20e9b1324bba22a6c0cb4f8fedae3dd828ca5de /gui
parent37859a92039fe6df705024f45f84e1fbc4df806d (diff)
downloadscummvm-rg350-9665719b6624904d05202284e5fc4024cb827332.tar.gz
scummvm-rg350-9665719b6624904d05202284e5fc4024cb827332.tar.bz2
scummvm-rg350-9665719b6624904d05202284e5fc4024cb827332.zip
GUI: Set tooltip of local webserver button according to server state
Diffstat (limited to 'gui')
-rw-r--r--gui/options.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/options.cpp b/gui/options.cpp
index 1e9a8c2890..f798f1e59d 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -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);