Merge pull request #11480 from tagcup/button_unpress_fix

Ensure pressed is set to false in BaseButton::_unpress_group.

[ci skip]
This commit is contained in:
Rémi Verschelde 2017-09-22 09:25:08 +02:00 committed by GitHub
commit 15042128a6

View file

@ -39,7 +39,7 @@ void BaseButton::_unpress_group() {
if (!button_group.is_valid()) if (!button_group.is_valid())
return; return;
status.pressed = true; status.pressed = false;
for (Set<BaseButton *>::Element *E = button_group->buttons.front(); E; E = E->next()) { for (Set<BaseButton *>::Element *E = button_group->buttons.front(); E; E = E->next()) {
if (E->get() == this) if (E->get() == this)