diff --git a/src/states_screens/dialogs/addons_loading.cpp b/src/states_screens/dialogs/addons_loading.cpp index 1d0d96926..0e34f235d 100644 --- a/src/states_screens/dialogs/addons_loading.cpp +++ b/src/states_screens/dialogs/addons_loading.cpp @@ -111,12 +111,12 @@ void AddonsLoading::beforeAddingWidgets() if (m_addon.isInstalled()) { - /* only keep the button as "update" if allowed to access the net - * and not in error state + /* Turn "Install" button into "Update" if allowed to access the internet + * and not in an errored state */ if (m_addon.needsUpdate() && !addons_manager->wasError() && UserConfigParams::m_internet_status==RequestManager::IPERM_ALLOWED) - getWidget ("install")->setLabel( _("Update") ); + getWidget ("install")->setText( _("Update") ); else r->removeChildNamed("install"); }