diff options
author | Jakub Marcowski <01158831@pw.edu.pl> | 2023-10-08 20:41:22 +0200 |
---|---|---|
committer | Jakub Mateusz Marcowski <01158831@pw.edu.pl> | 2024-01-12 18:18:28 +0100 |
commit | 06534f8ad5cdb45974d463304c05ef91dd29f055 (patch) | |
tree | 4488261106a95e397f1eec7452ad9399810bdcba /editor/project_converter_3_to_4.cpp | |
parent | 26b1fd0d842fa3c2f090ead47e8ea7cd2d6515e1 (diff) | |
download | redot-engine-06534f8ad5cdb45974d463304c05ef91dd29f055.tar.gz |
Add deprecation notice to a duplicate method of class `Window`
Diffstat (limited to 'editor/project_converter_3_to_4.cpp')
-rw-r--r-- | editor/project_converter_3_to_4.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_converter_3_to_4.cpp b/editor/project_converter_3_to_4.cpp index 2b0f61c1b0..f8161272f6 100644 --- a/editor/project_converter_3_to_4.cpp +++ b/editor/project_converter_3_to_4.cpp @@ -2350,7 +2350,7 @@ void ProjectConverter3To4::process_gdscript_line(String &line, const RegExContai line = line.replace("OS.is_window_focused", "get_window().has_focus"); } if (line.contains("OS.move_window_to_foreground")) { - line = line.replace("OS.move_window_to_foreground", "get_window().move_to_foreground"); + line = line.replace("OS.move_window_to_foreground", "get_window().grab_focus"); } if (line.contains("OS.request_attention")) { line = line.replace("OS.request_attention", "get_window().request_attention"); |