diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-02-03 13:35:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-03 13:35:19 +0100 |
commit | 7f93eb34cf4b4e900aa9ba185b009fcb409d5d1c (patch) | |
tree | 3d31386b4c8200d9882b639b98728588802e0b96 /editor/plugins/theme_editor_plugin.cpp | |
parent | e165f18ae532ddf118b19bdd439f4ac6c226903a (diff) | |
parent | 73e784de1e95cfdf775e00e608114f5295813060 (diff) | |
download | redot-engine-7f93eb34cf4b4e900aa9ba185b009fcb409d5d1c.tar.gz |
Merge pull request #57581 from groud/remove_get_fowus_owner
Diffstat (limited to 'editor/plugins/theme_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/theme_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/theme_editor_plugin.cpp b/editor/plugins/theme_editor_plugin.cpp index bc2739bdac..aaa09237cf 100644 --- a/editor/plugins/theme_editor_plugin.cpp +++ b/editor/plugins/theme_editor_plugin.cpp @@ -2226,7 +2226,7 @@ void ThemeTypeEditor::_update_type_list() { } updating = true; - Control *focused = get_focus_owner(); + Control *focused = get_viewport()->gui_get_focus_owner(); if (focused) { if (focusables.has(focused)) { // If focus is currently on one of the internal property editors, don't update. |