Explorar o código

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

Ferenc Arn %!s(int64=8) %!d(string=hai) anos
pai
achega
ca3061d9c2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      scene/gui/base_button.cpp

+ 1 - 1
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)