Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f253f000 authored by Cyrill V. Gorcunov's avatar Cyrill V. Gorcunov Committed by Linus Torvalds
Browse files

[PATCH] qconf: Back button behaviour normalization



Do "Back" button behaviour normalization so it is enabled starting from
second-level menu only.

Signed-off-by: default avatarCyrill V. Gorcunov <gorcunov@gmail.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 786fb18d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1472,6 +1472,9 @@ void ConfigMainWindow::searchConfig(void)
void ConfigMainWindow::changeMenu(struct menu *menu)
{
	configList->setRootMenu(menu);
	if (configList->rootEntry->parent == &rootmenu)
		backAction->setEnabled(FALSE);
	else
		backAction->setEnabled(TRUE);
}