diff options
author | Paulb23 <p_batty@hotmail.co.uk> | 2021-11-07 17:26:15 +0000 |
---|---|---|
committer | Paulb23 <p_batty@hotmail.co.uk> | 2022-01-19 17:26:22 +0000 |
commit | f43f68f605440795e39a66927b125d9f779d59f9 (patch) | |
tree | a386a81cc720c1bb4fadfaa613ffb565aad253fa /modules/visual_script/editor | |
parent | 2d1080e430e98078f7301c8160578f89202d72ee (diff) |
Convert TextEdit callbacks to Callable
Diffstat (limited to 'modules/visual_script/editor')
-rw-r--r-- | modules/visual_script/editor/visual_script_editor.cpp | 2 | ||||
-rw-r--r-- | modules/visual_script/editor/visual_script_editor.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/visual_script/editor/visual_script_editor.cpp b/modules/visual_script/editor/visual_script_editor.cpp index ec1a8a6b42..6d515d11f5 100644 --- a/modules/visual_script/editor/visual_script_editor.cpp +++ b/modules/visual_script/editor/visual_script_editor.cpp @@ -2846,7 +2846,7 @@ Control *VisualScriptEditor::get_base_editor() const { return graph; } -void VisualScriptEditor::set_tooltip_request_func(String p_method, Object *p_obj) { +void VisualScriptEditor::set_tooltip_request_func(const Callable &p_toolip_callback) { } Control *VisualScriptEditor::get_edit_menu() { diff --git a/modules/visual_script/editor/visual_script_editor.h b/modules/visual_script/editor/visual_script_editor.h index 90e4fb9d56..8901ea4006 100644 --- a/modules/visual_script/editor/visual_script_editor.h +++ b/modules/visual_script/editor/visual_script_editor.h @@ -328,7 +328,7 @@ public: virtual void update_settings() override; virtual bool show_members_overview() override; virtual void set_debugger_active(bool p_active) override; - virtual void set_tooltip_request_func(String p_method, Object *p_obj) override; + virtual void set_tooltip_request_func(const Callable &p_toolip_callback) override; virtual Control *get_edit_menu() override; virtual void clear_edit_menu() override; virtual void set_find_replace_bar(FindReplaceBar *p_bar) override { p_bar->hide(); }; // Not needed here. |