diff options
Diffstat (limited to 'scene/gui/control.cpp')
-rw-r--r-- | scene/gui/control.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp index bfaace69d7..14bca0e2c8 100644 --- a/scene/gui/control.cpp +++ b/scene/gui/control.cpp @@ -625,7 +625,7 @@ void Control::_notification(int p_notification) { get_viewport()->_gui_hid_control(this); //remove key focus - //remove modalness + } else { data.minimum_size_valid = false; _size_changed(); @@ -2117,9 +2117,6 @@ void Control::_propagate_theme_changed(Node *p_at, Control *p_owner, Window *p_o Window *w = c == nullptr ? Object::cast_to<Window>(p_at) : nullptr; - if (c && c != p_owner && c->data.theme.is_valid()) // has a theme, this can't be propagated - return; - if (w && w != p_owner_window && w->theme.is_valid()) // has a theme, this can't be propagated return; |