From c80e95b219050fd5fa006767c2ac3350c323c96e Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 5 Dec 2010 19:53:02 +0000 Subject: [PATCH] Fix alternative speed icon staying pressed when disabled --- src/statusbar.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/statusbar.h b/src/statusbar.h index 6c6023fbe..5a13d94bb 100644 --- a/src/statusbar.h +++ b/src/statusbar.h @@ -214,6 +214,7 @@ public slots: } else { altSpeedsBtn->setIcon(QIcon(":/Icons/slow_off.png")); altSpeedsBtn->setToolTip(tr("Click to enable alternative speed limits")); + altSpeedsBtn->setDown(false); } }