mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 09:13:08 +03:00
When the treeview window is the last one on screen and it is closed, NetSurf now
quits. svn path=/trunk/netsurf/; revision=5456
This commit is contained in:
parent
946115fa76
commit
f092676012
@ -416,6 +416,11 @@ void ami_handle_msg(void)
|
|||||||
{
|
{
|
||||||
if(ami_tree_event((struct treeviw_window *)gwin))
|
if(ami_tree_event((struct treeviw_window *)gwin))
|
||||||
{
|
{
|
||||||
|
if(IsMinListEmpty(window_list))
|
||||||
|
{
|
||||||
|
/* last window closed, so exit */
|
||||||
|
netsurf_quit = true;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user