Commit 3a748f44 authored by Carlos Garcia Campos's avatar Carlos Garcia Campos

[shell] Do not setup page from metadata when provided by command line

parent 75d0450d
......@@ -936,7 +936,8 @@ setup_model_from_metadata (EvWindow *window)
return;
/* Current page */
if (ev_metadata_get_int (window->priv->metadata, "page", &page)) {
if (!window->priv->dest &&
ev_metadata_get_int (window->priv->metadata, "page", &page)) {
ev_document_model_set_page (window->priv->model, page);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment