guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

189/197: installer: Fix buglet where keys were sometimes ignored in user


From: Danny Milosavljevic
Subject: 189/197: installer: Fix buglet where keys were sometimes ignored in users page.
Date: Mon, 3 Jul 2017 20:37:23 -0400 (EDT)

dannym pushed a commit to branch wip-installer-2
in repository guix.

commit e54118def9894645d78fbbb695918d94e31e3873
Author: John Darrington <address@hidden>
Date:   Tue Feb 21 08:15:39 2017 +0100

    installer: Fix buglet where keys were sometimes ignored in users page.
    
    * gnu/system/installer/users.scm (users-page-key-handler): Only
    consider a select-key if the menu is active.
---
 gnu/system/installer/users.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/system/installer/users.scm b/gnu/system/installer/users.scm
index 214d58a..8316cbc 100644
--- a/gnu/system/installer/users.scm
+++ b/gnu/system/installer/users.scm
@@ -77,7 +77,7 @@
       (buttons-unselect-all nav)
       (menu-set-active! menu #t))
 
-     ((select-key? ch)
+     ((and (menu-active menu) (select-key? ch))
       (let* ((account  (menu-get-current-item menu)))
              (if account
                  (page-enter  (make-user-edit-page page  "Edit User" 
account)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]