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:
commit
15042128a6
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue