|
@@ -1791,11 +1791,13 @@ void ProjectManager::_notification(int p_what) {
|
|
}
|
|
}
|
|
} break;
|
|
} break;
|
|
case NOTIFICATION_READY: {
|
|
case NOTIFICATION_READY: {
|
|
|
|
+#ifndef ANDROID_ENABLED
|
|
if (_project_list->get_project_count() >= 1) {
|
|
if (_project_list->get_project_count() >= 1) {
|
|
// Focus on the search box immediately to allow the user
|
|
// Focus on the search box immediately to allow the user
|
|
// to search without having to reach for their mouse
|
|
// to search without having to reach for their mouse
|
|
project_filter->search_box->grab_focus();
|
|
project_filter->search_box->grab_focus();
|
|
}
|
|
}
|
|
|
|
+#endif
|
|
|
|
|
|
if (asset_library) {
|
|
if (asset_library) {
|
|
// Suggest browsing asset library to get templates/demos.
|
|
// Suggest browsing asset library to get templates/demos.
|
|
@@ -2332,6 +2334,7 @@ void ProjectManager::_on_filter_option_changed() {
|
|
}
|
|
}
|
|
|
|
|
|
void ProjectManager::_on_tab_changed(int p_tab) {
|
|
void ProjectManager::_on_tab_changed(int p_tab) {
|
|
|
|
+#ifndef ANDROID_ENABLED
|
|
if (p_tab == 0) { // Projects
|
|
if (p_tab == 0) { // Projects
|
|
// Automatically grab focus when the user moves from the Templates tab
|
|
// Automatically grab focus when the user moves from the Templates tab
|
|
// back to the Projects tab.
|
|
// back to the Projects tab.
|
|
@@ -2343,6 +2346,7 @@ void ProjectManager::_on_tab_changed(int p_tab) {
|
|
|
|
|
|
// The Templates tab's search field is focused on display in the asset
|
|
// The Templates tab's search field is focused on display in the asset
|
|
// library editor plugin code.
|
|
// library editor plugin code.
|
|
|
|
+#endif
|
|
}
|
|
}
|
|
|
|
|
|
void ProjectManager::_bind_methods() {
|
|
void ProjectManager::_bind_methods() {
|