diff --git a/source/menu/menu_categories.cpp b/source/menu/menu_categories.cpp index 632dafec..f672e158 100644 --- a/source/menu/menu_categories.cpp +++ b/source/menu/menu_categories.cpp @@ -91,22 +91,22 @@ void CMenu::_updateCheckboxes(void) { if(i == 0 && gameSet) continue; - m_btnMgr.show(m_categoryLblCat[i]); if(catflags[i] == '1') m_btnMgr.show(m_categoryBtnCats[i]); else m_btnMgr.show(m_categoryBtnCat[i]); + m_btnMgr.show(m_categoryLblCat[i]); } } else { for(int i = 11; i < m_max_categories; ++i) { - m_btnMgr.show(m_categoryLblCat[i]); if(catflags[i] == '1') m_btnMgr.show(m_categoryBtnCats[i]); else m_btnMgr.show(m_categoryBtnCat[i]); + m_btnMgr.show(m_categoryLblCat[i]); } } } diff --git a/source/menu/menu_plugin.cpp b/source/menu/menu_plugin.cpp index 69c6dc94..fc255573 100644 --- a/source/menu/menu_plugin.cpp +++ b/source/menu/menu_plugin.cpp @@ -76,21 +76,21 @@ void CMenu::_updatePluginCheckboxes(void) j = m_max_plugins; for(u8 i = 0; i < j; ++i) { - m_btnMgr.show(m_pluginLblCat[i]); if((EnabledPlugins.size() == 0) || (i != 0 && EnabledPlugins.size() >= i && EnabledPlugins[i - 1] == true)) m_pluginBtn[i] = m_pluginBtnCats[i]; else m_pluginBtn[i] = m_pluginBtnCat[i]; m_btnMgr.show(m_pluginBtn[i]); + m_btnMgr.show(m_pluginLblCat[i]); } } else { for(int i = 11; i < m_max_plugins; ++i) { - m_btnMgr.show(m_pluginLblCat[i]); m_pluginBtn[i] = m_pluginBtnCat[i]; m_btnMgr.show(m_pluginBtn[i]); + m_btnMgr.show(m_pluginLblCat[i]); } } }