diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index 42dd6f7e9..78f25db68 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -722,6 +722,8 @@ const PopupMenuBase = new Lang.Class({ isEmpty: function() { let hasVisibleChildren = this.box.get_children().some(function(child) { + if (child._delegate instanceof PopupSeparatorMenuItem) + return false; return child.visible; });