diff --git a/js/ui/panel.js b/js/ui/panel.js index 7153abdff..f24f3a402 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -1065,6 +1065,9 @@ const Panel = new Lang.Class({ }, _onButtonPress: function(actor, event) { + if (Main.modalCount > 0) + return false; + if (event.get_source() != actor) return false;