projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
786fb18
)
[PATCH] qconf: Back button behaviour normalization
author
Cyrill V. Gorcunov
<
[email protected]
>
Wed, 14 Feb 2007 08:33:00 +0000
(
00:33
-0800)
committer
Linus Torvalds
<
[email protected]
>
Wed, 14 Feb 2007 16:09:52 +0000
(08:09 -0800)
Do "Back" button behaviour normalization so it is enabled starting from
second-level menu only.
Signed-off-by: Cyrill V. Gorcunov <
[email protected]
>
Cc: Roman Zippel <
[email protected]
>
Cc: Sam Ravnborg <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
scripts/kconfig/qconf.cc
patch
|
blob
|
history
diff --git
a/scripts/kconfig/qconf.cc
b/scripts/kconfig/qconf.cc
index 99124458dbd5c9ce7efe46be483c44574e96fb0f..0981d2a2f36318ea9fc5740e89a86e0232935155 100644
(file)
--- a/
scripts/kconfig/qconf.cc
+++ b/
scripts/kconfig/qconf.cc
@@
-1472,7
+1472,10
@@
void ConfigMainWindow::searchConfig(void)
void ConfigMainWindow::changeMenu(struct menu *menu)
{
configList->setRootMenu(menu);
- backAction->setEnabled(TRUE);
+ if (configList->rootEntry->parent == &rootmenu)
+ backAction->setEnabled(FALSE);
+ else
+ backAction->setEnabled(TRUE);
}
void ConfigMainWindow::setMenuLink(struct menu *menu)