summaryrefslogtreecommitdiff
path: root/src/ui.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-04-14 06:34:46 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-04-14 06:34:46 +0200
commit55a9aafc03eee2880135c7997673e0277fe20cbb (patch)
tree4a52580b85ccd2cbc053381d9ae90141d8ccbb7c /src/ui.vala
parent33cadea6a68bb4c725d1dc4e13a99c5e3bd1c866 (diff)
parent2fb926c2bb3fd45a2d1428db6a44ce9da8b9a85d (diff)
Merge tag 'upstream/3.16.1.1'
Upstream version 3.16.1.1
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 0a80789..362c53b 100644
--- a/src/ui.vala
+++ b/src/ui.vala
@@ -1610,7 +1610,7 @@ public class UserInterface : Gtk.ApplicationWindow
page.scan_direction_changed.disconnect (page_scan_direction_changed_cb);
/* If this is the last page add a new blank one */
- if (book.n_pages == 1)
+ if (book.n_pages == 0)
add_default_page ();
update_page_menu ();