You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Merge pull request #2908 from neikeq/fix_editor_select
Fix bugs caused by merged Script and Help tabs
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user