diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index 843af8223..283934c28 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -173,7 +173,8 @@ var PopupBaseMenuItem = class { this.active = active; if (active) { this.actor.add_style_class_name('selected'); - this.actor.grab_key_focus(); + if (this.actor.can_focus) + this.actor.grab_key_focus(); } else { this.actor.remove_style_class_name('selected'); // Remove the CSS active state if the user press the button and