aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/editor_help.cpp
diff options
context:
space:
mode:
authorneikeq2015-11-25 00:07:32 +0100
committerneikeq2015-11-25 00:07:32 +0100
commitbfe8df27bc2f2777c5e6636827e5430f95c90562 (patch)
treeda9dfbb1eaed30dfdb9bd466008d2bc324451923 /tools/editor/editor_help.cpp
parentc731dd1ba68604ff7e97915e2b9d3011e818ca03 (diff)
downloadgodot-bfe8df27bc2f2777c5e6636827e5430f95c90562.tar.gz
godot-bfe8df27bc2f2777c5e6636827e5430f95c90562.tar.zst
godot-bfe8df27bc2f2777c5e6636827e5430f95c90562.zip
Fix switching between 2D/3D/Script
Diffstat (limited to 'tools/editor/editor_help.cpp')
-rw-r--r--tools/editor/editor_help.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/editor_help.cpp b/tools/editor/editor_help.cpp
index 808199e17..d026fa0c1 100644
--- a/tools/editor/editor_help.cpp
+++ b/tools/editor/editor_help.cpp
@@ -263,7 +263,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();
}
@@ -1049,7 +1049,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
}