Really fix modal_counter check

This commit is contained in:
Rico Tzschichholz 2012-07-18 13:35:23 +02:00
parent 61169e83fa
commit 850f3b7e2f

View File

@ -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 ());