|
@@ -361,7 +361,7 @@ void EditorSettingsDialog::_tabs_tab_changed(int p_tab) {
|
|
void EditorSettingsDialog::_focus_current_search_box() {
|
|
void EditorSettingsDialog::_focus_current_search_box() {
|
|
|
|
|
|
Control *tab = tabs->get_current_tab_control();
|
|
Control *tab = tabs->get_current_tab_control();
|
|
- LineEdit *current_search_box;
|
|
|
|
|
|
+ LineEdit *current_search_box = NULL;
|
|
if (tab == tab_general)
|
|
if (tab == tab_general)
|
|
current_search_box = search_box;
|
|
current_search_box = search_box;
|
|
else if (tab == tab_shortcuts)
|
|
else if (tab == tab_shortcuts)
|