mirror of
https://github.com/elementary/gala.git
synced 2024-12-18 06:41:36 +03:00
Really fix modal_counter check
This commit is contained in:
parent
61169e83fa
commit
850f3b7e2f
@ -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 ());
|
||||
|
Loading…
Reference in New Issue
Block a user