diff options
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index fced25c38..4819afee8 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -1659,12 +1659,7 @@ tab_removed_cb (EphyNotebook *notebook, window->priv->num_tabs--; - if (window->priv->num_tabs == 0) - { - /* removed the last tab, close the window */ - gtk_widget_destroy (GTK_WIDGET (window)); - } - else + if (window->priv->num_tabs > 0) { update_tabs_menu_sensitivity (window); } |