From 936735a77ff09a690b878127f136c729c60d387f Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 21 Dec 2014 15:47:28 +0100 Subject: [PATCH] CSoftwareUpdate: show package feature as disabled without support --- src/gui/update_menue.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/gui/update_menue.cpp b/src/gui/update_menue.cpp index 68c075cf4..5c54266fe 100644 --- a/src/gui/update_menue.cpp +++ b/src/gui/update_menue.cpp @@ -106,12 +106,9 @@ int CSoftwareUpdate::showSoftwareUpdate() softUpdate.addItem(mf); //firmware update via opkg - if (COPKGManager::hasOpkgSupport()) { - mf = new CMenuForwarder(LOCALE_OPKG_TITLE, true, NULL, new COPKGManager()); - mf->setHint(NEUTRINO_ICON_HINT_SW_UPDATE, LOCALE_MENU_HINT_OPKG); - softUpdate.addItem(mf); - } - + mf = new CMenuForwarder(LOCALE_OPKG_TITLE, COPKGManager::hasOpkgSupport(), NULL, new COPKGManager()); + mf->setHint(NEUTRINO_ICON_HINT_SW_UPDATE, LOCALE_MENU_HINT_OPKG); + softUpdate.addItem(mf); } #ifdef BOXMODEL_APOLLO