summaryrefslogtreecommitdiffstats
path: root/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-04-28 16:20:20 +0200
committerGitHub <noreply@github.com>2020-04-28 16:20:20 +0200
commitd44c5cfcf72eec2fbf76afe6fd9e43ee3bcab216 (patch)
tree4ce75cb592dbf7ce1f367f778a8b3b306727b2f8 /editor/plugins/script_editor_plugin.cpp
parentb9e58ed5b869cf2caf946be9a5e3b9066e1387eb (diff)
parentfdf58a585839804c89798392dd93025dbe8654e4 (diff)
downloadredot-engine-d44c5cfcf72eec2fbf76afe6fd9e43ee3bcab216.tar.gz
Merge pull request #38295 from akien-mga/input-is-back
Rename InputFilter back to Input
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
-rw-r--r--editor/plugins/script_editor_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp
index 2c831979de..7af98cf346 100644
--- a/editor/plugins/script_editor_plugin.cpp
+++ b/editor/plugins/script_editor_plugin.cpp
@@ -30,7 +30,7 @@
#include "script_editor_plugin.h"
-#include "core/input/input_filter.h"
+#include "core/input/input.h"
#include "core/io/resource_loader.h"
#include "core/os/file_access.h"
#include "core/os/keyboard.h"
@@ -1545,7 +1545,7 @@ void ScriptEditor::_help_overview_selected(int p_idx) {
void ScriptEditor::_script_selected(int p_idx) {
- grab_focus_block = !InputFilter::get_singleton()->is_mouse_button_pressed(1); //amazing hack, simply amazing
+ grab_focus_block = !Input::get_singleton()->is_mouse_button_pressed(1); //amazing hack, simply amazing
_go_to_tab(script_list->get_item_metadata(p_idx));
grab_focus_block = false;