hide left-side menu from appearing in the misc menu

This commit is contained in:
ITotalJustice committed 2025-05-27 21:51:51 +01:00
1 parent 8f6c5ff618
commit 6db0cc0615
1 file changed
+4 -4
+4 -4
View File
@@ -1582,11 +1582,11 @@ void App::DisplayMiscOptions(bool left_side) {
ON_SCOPE_EXIT(App::Push(options));
for (auto& e : ui::menu::main::GetMiscMenuEntries()) {
if (e.name == g_app->m_right_menu.Get()) {
if (e.name == g_app->m_left_menu.Get()) {
continue;
}
if (e.IsInstall() && !App::GetInstallEnable()) {
} else if (e.name == g_app->m_right_menu.Get()) {
continue;
} else if (e.IsInstall() && !App::GetInstallEnable()) {
continue;
}