diff --git a/scene/gui/base_button.cpp b/scene/gui/base_button.cpp index 04c0817b152..148277f2ddc 100644 --- a/scene/gui/base_button.cpp +++ b/scene/gui/base_button.cpp @@ -39,7 +39,9 @@ void BaseButton::_unpress_group() { if (!button_group.is_valid()) return; - status.pressed = false; + if (toggle_mode) { + status.pressed = true; + } for (Set::Element *E = button_group->buttons.front(); E; E = E->next()) { if (E->get() == this)