on exit try hiding last

this fixes the window hiding when the quit dialog pops up
This commit is contained in:
TingPing 2012-12-01 14:36:24 -05:00
parent 45607703c2
commit cbb8c88a0e
1 changed files with 1 additions and 1 deletions

View File

@ -3074,7 +3074,7 @@ mg_tabwindow_de_cb (GtkWidget *widget, GdkEvent *event, gpointer user_data)
GSList *list;
session *sess;
if (tray_toggle_visibility (FALSE) && prefs.hex_gui_tray_close && !hextray_mode ())
if (prefs.hex_gui_tray_close && !hextray_mode () && tray_toggle_visibility (FALSE))
return TRUE;
/* check for remaining toplevel windows */