]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-window.c
Set points_set to TRUE so that selections don't disappear after a zoom
[evince.git] / shell / ev-window.c
index d8cd629ad21f75ff1e98abd1f3452965b25a31b0..722c8716eb958da7975a223ecb150f9cd72bf155 100644 (file)
@@ -700,6 +700,9 @@ ev_window_add_history (EvWindow *window, gint page, EvLink *link)
        EvLink *real_link;
        EvLinkAction *action;
        EvLinkDest *dest;
+
+       if (window->priv->history == NULL)
+               return;
        
        if (link) {
                action = g_object_ref (ev_link_get_action (link));