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:
Chris Young 2008-09-28 14:40:19 +00:00
parent 946115fa76
commit f092676012

View File

@ -416,6 +416,11 @@ void ami_handle_msg(void)
{
if(ami_tree_event((struct treeviw_window *)gwin))
{
if(IsMinListEmpty(window_list))
{
/* last window closed, so exit */
netsurf_quit = true;
}
break;
}
else