diff options
author | Ori Avtalion | 2016-04-13 13:08:36 +0300 |
---|---|---|
committer | Ori Avtalion | 2016-04-13 13:21:27 +0300 |
commit | 92b7a86e1f9529c78f62a241aee161eb69ff08ab (patch) | |
tree | b1b24e72e0b3427c1b46f6636af873b7ca5eaae4 | |
parent | 25c380f92e6585a05dc1038b5809f55daeb88314 (diff) | |
download | scummvm-rg350-92b7a86e1f9529c78f62a241aee161eb69ff08ab.tar.gz scummvm-rg350-92b7a86e1f9529c78f62a241aee161eb69ff08ab.tar.bz2 scummvm-rg350-92b7a86e1f9529c78f62a241aee161eb69ff08ab.zip |
GUI: Remove highlighting when button widget is pressed
Without this, buttons would stay highlighted after being un-pressed.
Fixes #7094.
-rw-r--r-- | gui/widget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp index 11b1ed66f0..4143111e54 100644 --- a/gui/widget.cpp +++ b/gui/widget.cpp @@ -356,6 +356,7 @@ void ButtonWidget::handleTickle() { void ButtonWidget::setPressedState() { wantTickle(true); setFlags(WIDGET_PRESSED); + clearFlags(WIDGET_HILITED); draw(); } |