kconfig: qconf: remove redundant check in goBack()

The same check is performed in the configList->setParentMenu() call.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
Masahiro Yamada 2024-10-24 03:17:59 +09:00
parent 572cd1d2a9
commit 8e8ce9531e

View File

@ -1616,9 +1616,6 @@ void ConfigMainWindow::listFocusChanged(void)
void ConfigMainWindow::goBack(void)
{
if (configList->rootEntry == &rootmenu)
return;
configList->setParentMenu();
}