Browse Source

Fix alternative speeds tooltip

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
6a3d0da4ad
  1. 4
      src/statusbar.h

4
src/statusbar.h

@ -197,11 +197,11 @@ public slots: @@ -197,11 +197,11 @@ public slots:
void updateAltSpeedsBtn(bool alternative) {
if(alternative) {
altSpeedsBtn->setIcon(QIcon(":/Icons/slow.png"));
altSpeedsBtn->setToolTip(tr("Click to switch to alternative speed limits"));
altSpeedsBtn->setToolTip(tr("Click to switch to regular speed limits"));
altSpeedsBtn->setDown(true);
} else {
altSpeedsBtn->setIcon(QIcon(":/Icons/slow_off.png"));
altSpeedsBtn->setToolTip(tr("Click to switch to regular speed limits"));
altSpeedsBtn->setToolTip(tr("Click to switch to alternative speed limits"));
altSpeedsBtn->setDown(false);
}
}

Loading…
Cancel
Save