personalize: add deactivated items too; ...

... visibility is controlled in personalization itself


Origin commit data
------------------
Commit: 520660296b
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-17 (Thu, 17 Dec 2015)

Origin message was:
------------------
- personalize: add deactivated items too; ...

... visibility is controlled in personalization itself
This commit is contained in:
vanhofen
2015-12-17 21:18:11 +01:00
parent 339770d0ca
commit bbaf7390ee

View File

@@ -966,7 +966,7 @@ void CPersonalizeGui::addPersonalizedItems()
v_item[i].menuItem->hintIcon = fw->hintIcon;
v_item[i].menuItem->hint = fw->hint;
//add item if it's set to visible or pin protected and allow to add an forwarder as next
if (v_item[i].menuItem->active && (p_mode != PERSONALIZE_MODE_NOTVISIBLE || i_mode == PERSONALIZE_SHOW_AS_ACCESS_OPTION))
if (p_mode != PERSONALIZE_MODE_NOTVISIBLE || i_mode == PERSONALIZE_SHOW_AS_ACCESS_OPTION)
{
//add item
v_item[i].widget->addItem(v_item[i].menuItem, v_item[i].default_selected); //forwarders...