guix-commits
[Top][All Lists]
Advanced

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

02/04: installer: Fix buglet where keys were sometimes ignored in users


From: John Darrington
Subject: 02/04: installer: Fix buglet where keys were sometimes ignored in users page.
Date: Thu, 23 Feb 2017 11:05:01 -0500 (EST)

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

commit ebf0440a8058a6561d4973a5e500dabd46c4232a
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]