&& SETTING_VIEW_MAIN == ad->view_load
&& MAIN_PROFILE_PREFERRED == ad->profile_type) {
- ad->more_connective_menus[idx_second_menu++] = keyStr;
+ if (is_ug_installed_by_ug_args(ug_args)) {
+ ad->more_connective_menus[idx_second_menu++] = keyStr;
+ }
}
if (Cfg_Item_Pos_Level_All == inputPos) {
//end group , only display in setting main view
#if SUPPORT_MORE_ITEM_FUNCTION
- if (SETTING_VIEW_MAIN == ad->view_load && MAIN_PROFILE_PREFERRED == ad->profile_type)
+ if (SETTING_VIEW_MAIN == ad->view_load && MAIN_PROFILE_PREFERRED == ad->profile_type && idx_second_menu > 0)
{
char sub_text[MAX_COMMON_BUFFER_LEN] = {0, };
int idx = 0;
&& Cfg_Item_Pos_Level1 == tmpPos
&& SETTING_VIEW_MAIN == ad->view_load
&& MAIN_PROFILE_PREFERRED == ad->profile_type) {
+
+ if (is_ug_installed_by_ug_args(ug_args)) {
ad->more_system_menus[idx_second_menu++] = keyStr;
+ }
}
if (Cfg_Item_Pos_Level_All == inputPos) {
}
//end group, only display in setting main view
#if SUPPORT_MORE_ITEM_FUNCTION
- if (SETTING_VIEW_MAIN == ad->view_load && MAIN_PROFILE_PREFERRED == ad->profile_type)
+ if (SETTING_VIEW_MAIN == ad->view_load && MAIN_PROFILE_PREFERRED == ad->profile_type && idx_second_menu > 0)
{
char sub_text[MAX_COMMON_BUFFER_LEN] = {0, };
int idx = 0;