1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Remember last help search

This commit is contained in:
neikeq
2015-11-24 22:33:26 +01:00
parent c731dd1ba6
commit c591293718
3 changed files with 11 additions and 2 deletions

View File

@@ -36,6 +36,14 @@
#include "os/keyboard.h"
void EditorHelpSearch::popup() {
popup_centered_ratio(0.6);
if (search_box->get_text()!="") {
search_box->select_all();
_update_search();
}
search_box->grab_focus();
}
void EditorHelpSearch::popup(const String& p_term) {