Skip to content

Commit 0644c6b

Browse files
author
Stan Janssen
committed
Close window when closing last tab
1 parent 7221ff7 commit 0644c6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/View/Window.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ public class Files.View.Window : Hdy.ApplicationWindow {
407407
tab_view.close_page_finish (page, true);
408408

409409
if (tab_view.n_pages == 0) {
410-
add_tab.begin (default_location, PREFERRED, false);
410+
quit ();
411411
}
412412

413413
return Gdk.EVENT_STOP;

0 commit comments

Comments
 (0)