summaryrefslogtreecommitdiff
path: root/src/ui.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.vala')
-rw-r--r--src/ui.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.vala b/src/ui.vala
index 4ad6aa7..0a80789 100644
--- a/src/ui.vala
+++ b/src/ui.vala
@@ -264,6 +264,7 @@ public class UserInterface : Gtk.ApplicationWindow
book.page_added.connect (page_added_cb);
book.reordered.connect (reordered_cb);
book.page_removed.connect (page_removed_cb);
+ book.needs_saving_changed.connect (needs_saving_cb);
load ();
@@ -278,7 +279,6 @@ public class UserInterface : Gtk.ApplicationWindow
}
else
book_view.selected_page = book.get_page (0);
- book.needs_saving_changed.connect (needs_saving_cb);
}
~UserInterface ()