diff options
author | Ferenc Arn <tagcup@yahoo.com> | 2017-09-21 20:58:32 -0400 |
---|---|---|
committer | Ferenc Arn <tagcup@yahoo.com> | 2017-09-21 20:58:32 -0400 |
commit | ca3061d9c2b8916224a0938197778ee0046e47f3 (patch) | |
tree | 3726c4e0b42ed64b4b34a76c0466aae636235c92 /scene/gui/base_button.cpp | |
parent | b51180caa3063937d2155233fd0bf8155c317ba9 (diff) | |
download | redot-engine-ca3061d9c2b8916224a0938197778ee0046e47f3.tar.gz |
Ensure pressed is set to false in BaseButton::_unpress_group.
Diffstat (limited to 'scene/gui/base_button.cpp')
-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) |