Remove get_focus_owner() from Control, replaced by get_viewport()->gui_get_focus_owner()
This commit is contained in:
parent
36880714e4
commit
73e784de1e
13 changed files with 12 additions and 26 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue