aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/qconf.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index 99124458dbd5..0981d2a2f363 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -1472,7 +1472,10 @@ void ConfigMainWindow::searchConfig(void)
1472void ConfigMainWindow::changeMenu(struct menu *menu) 1472void ConfigMainWindow::changeMenu(struct menu *menu)
1473{ 1473{
1474 configList->setRootMenu(menu); 1474 configList->setRootMenu(menu);
1475 backAction->setEnabled(TRUE); 1475 if (configList->rootEntry->parent == &rootmenu)
1476 backAction->setEnabled(FALSE);
1477 else
1478 backAction->setEnabled(TRUE);
1476} 1479}
1477 1480
1478void ConfigMainWindow::setMenuLink(struct menu *menu) 1481void ConfigMainWindow::setMenuLink(struct menu *menu)