personalize.cpp: apply native sub head

Origin commit data
------------------
Commit: a0e2e1277c
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-04-03 (Wed, 03 Apr 2019)
This commit is contained in:
2019-04-03 23:24:44 +02:00
committed by vanhofen
parent 7400e7965a
commit 26ce4b139b

View File

@@ -575,13 +575,9 @@ int CPersonalizeGui::ShowMenuOptions(const int& widget)
//************************* //*************************
//subhead //subhead
CMenuSeparator * pm_subhead = new CMenuSeparator(CMenuSeparator::ALIGN_LEFT | CMenuSeparator::SUB_HEAD | CMenuSeparator::STRING);
string s_sh = g_Locale->getText(LOCALE_PERSONALIZE_ACCESS); string s_sh = g_Locale->getText(LOCALE_PERSONALIZE_ACCESS);
s_sh += ": " + mn_name; s_sh += ": " + mn_name;
pm_subhead->setName(s_sh); pm->addIntroItems(s_sh);
pm->addItem(pm_subhead);
pm->addIntroItems();
//add all needed items //add all needed items
for (uint i = 0; i<v_item.size(); i++) for (uint i = 0; i<v_item.size(); i++)