diff options
| author | Rémi Verschelde | 2015-11-25 07:24:58 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2015-11-25 07:24:58 +0100 |
| commit | 7aa2a2e62c52e27853066e393991c72c005b3a6d (patch) | |
| tree | 634d4d30a02cf46a1383366f5c139283a80281f2 /tools/editor/editor_help.cpp | |
| parent | bd10df93ec1c19405659ed82e6c7116921ba5e0c (diff) | |
| parent | 8d97eef0fe634b8dba17d786123714fe83d5a4f8 (diff) | |
| download | godot-7aa2a2e62c52e27853066e393991c72c005b3a6d.tar.gz godot-7aa2a2e62c52e27853066e393991c72c005b3a6d.tar.zst godot-7aa2a2e62c52e27853066e393991c72c005b3a6d.zip | |
Merge pull request #2909 from neikeq/imp_2908
Put 2D, 3D and Script editor table indexes in enum
Diffstat (limited to 'tools/editor/editor_help.cpp')
| -rw-r--r-- | tools/editor/editor_help.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/editor_help.cpp b/tools/editor/editor_help.cpp index af2f1fd77..1a009214a 100644 --- a/tools/editor/editor_help.cpp +++ b/tools/editor/editor_help.cpp @@ -271,7 +271,7 @@ void EditorHelpSearch::_confirmed() { String mdata=ti->get_metadata(0); emit_signal("go_to_help",mdata); - editor->call("_editor_select",2); // in case EditorHelpSearch beeen invoked on top of other editor window + editor->call("_editor_select",EditorNode::EDITOR_SCRIPT); // in case EditorHelpSearch beeen invoked on top of other editor window // go to that hide(); } @@ -1057,7 +1057,7 @@ Error EditorHelp::_goto_desc(const String& p_class,int p_vscr) { void EditorHelp::_request_help(const String& p_string) { Error err = _goto_desc(p_string); if (err==OK) { - editor->call("_editor_select",2); + editor->call("_editor_select",EditorNode::EDITOR_SCRIPT); } //100 palabras } |
