From 850f3b7e2fcd158bcfed6bcb5d2bbc0116efc3f1 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Wed, 18 Jul 2012 13:35:23 +0200 Subject: [PATCH] Really fix modal_counter check --- src/Main.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.vala b/src/Main.vala index 6963b0ef..e0138979 100644 --- a/src/Main.vala +++ b/src/Main.vala @@ -177,7 +177,7 @@ namespace Gala public new void end_modal () { modal_count --; - if (modal_count > 1) + if (modal_count > 0) return; base.end_modal (get_screen ().get_display ().get_current_time ());