From ca3061d9c2b8916224a0938197778ee0046e47f3 Mon Sep 17 00:00:00 2001 From: Ferenc Arn Date: Thu, 21 Sep 2017 20:58:32 -0400 Subject: [PATCH] Ensure pressed is set to false in BaseButton::_unpress_group. --- scene/gui/base_button.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/gui/base_button.cpp b/scene/gui/base_button.cpp index 5713a35b7a8..04c0817b152 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::Element *E = button_group->buttons.front(); E; E = E->next()) { if (E->get() == this)