Remember last help search
This commit is contained in:
parent
c731dd1ba6
commit
c591293718
3 changed files with 11 additions and 2 deletions
|
|
@ -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) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue