diff options
| author | Rémi Verschelde | 2015-11-25 00:25:55 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2015-11-25 00:25:55 +0100 |
| commit | a1059e3e3e54e9921c0426c8a5c9faf595175cf0 (patch) | |
| tree | 53f61fe581446a3affbc40f3def62e6107894b86 /tools/editor/editor_help.cpp | |
| parent | 5db398f67f695cd9b97d9ddefe9f80859ded4026 (diff) | |
| parent | 06957a8026bd20869fe11958d2cd8539c270354f (diff) | |
| download | godot-a1059e3e3e54e9921c0426c8a5c9faf595175cf0.tar.gz godot-a1059e3e3e54e9921c0426c8a5c9faf595175cf0.tar.zst godot-a1059e3e3e54e9921c0426c8a5c9faf595175cf0.zip | |
Merge pull request #2908 from neikeq/fix_editor_select
Fix bugs caused by merged Script and Help tabs
Diffstat (limited to 'tools/editor/editor_help.cpp')
| -rw-r--r-- | tools/editor/editor_help.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/editor/editor_help.cpp b/tools/editor/editor_help.cpp index 8fd99cc25..af2f1fd77 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",3); // in case EditorHelpSearch beeen invoked on top of other editor window + editor->call("_editor_select",2); // 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",3); + editor->call("_editor_select",2); } //100 palabras } @@ -1358,7 +1358,6 @@ void EditorHelp::_notification(int p_what) { // forward->set_icon(get_icon("Forward","EditorIcons")); // back->set_icon(get_icon("Back","EditorIcons")); _update_doc(); - editor->connect("request_help",this,"_request_help"); } break; } |
