mirror of
https://github.com/elementary/gala.git
synced 2024-12-19 15:21:47 +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 ()
|
public new void end_modal ()
|
||||||
{
|
{
|
||||||
modal_count --;
|
modal_count --;
|
||||||
if (modal_count > 1)
|
if (modal_count > 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
base.end_modal (get_screen ().get_display ().get_current_time ());
|
base.end_modal (get_screen ().get_display ().get_current_time ());
|
||||||
|
Loading…
Reference in New Issue
Block a user