diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-31 11:07:48 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-31 11:07:48 +0100 |
commit | 49c53027a9e4ada8e75a8b18e19f8e9462ca6dcd (patch) | |
tree | f184f64d62b1d306c0daaadd28494b7739f669b2 /editor/plugins/script_text_editor.h | |
parent | 3312d0a87bd81d3e656ce0a12d9109837b140ab6 (diff) | |
parent | d499071e5b448a11fb3e815c33ab55cd4c23b5c1 (diff) | |
download | redot-engine-49c53027a9e4ada8e75a8b18e19f8e9462ca6dcd.tar.gz |
Merge pull request #67786 from EricEzaM/67743-script-editor-shortcuts
Set the shortcut context for the edit/search/goto menus to the ScriptEditor so that shortcuts continue to work when FindReplaceBar is focused.
Diffstat (limited to 'editor/plugins/script_text_editor.h')
-rw-r--r-- | editor/plugins/script_text_editor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_text_editor.h b/editor/plugins/script_text_editor.h index c165295a8e..5fd12674b3 100644 --- a/editor/plugins/script_text_editor.h +++ b/editor/plugins/script_text_editor.h @@ -206,7 +206,7 @@ public: virtual void apply_code() override; virtual Ref<Resource> get_edited_resource() const override; virtual void set_edited_resource(const Ref<Resource> &p_res) override; - virtual void enable_editor() override; + virtual void enable_editor(Control *p_shortcut_context = nullptr) override; virtual Vector<String> get_functions() override; virtual void reload_text() override; virtual String get_name() override; |