diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-09-22 09:25:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-22 09:25:08 +0200 |
commit | 15042128a69f301f9e88981ec5da9707d403106a (patch) | |
tree | 435eb7f41080c4ae318a0903342faeb321e1188f | |
parent | bbcf6bde41d31ceaa39e51dbe15aa25d30aa6263 (diff) | |
parent | ca3061d9c2b8916224a0938197778ee0046e47f3 (diff) |
Merge pull request #11480 from tagcup/button_unpress_fix
Ensure pressed is set to false in BaseButton::_unpress_group.
[ci skip]
-rw-r--r-- | scene/gui/base_button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/base_button.cpp b/scene/gui/base_button.cpp index 5713a35b7a..04c0817b15 100644 --- a/scene/gui/base_button.cpp +++ b/scene/gui/base_button.cpp @@ -39,7 +39,7 @@ void BaseButton::_unpress_group() { if (!button_group.is_valid()) return; - status.pressed = true; + status.pressed = false; for (Set<BaseButton *>::Element *E = button_group->buttons.front(); E; E = E->next()) { if (E->get() == this) |