Commit 8219d48e authored by Moritz Lipp's avatar Moritz Lipp
Browse files

Reload correct page when re-opening known file

parent b6f1868e
......@@ -463,7 +463,7 @@ document_open(zathura_t* zathura, const char* path, const char* password)
/* bookmarks */
zathura_bookmarks_load(zathura, zathura->document->file_path);
page_set_delayed(zathura, document->current_page_number - 1);
page_set_delayed(zathura, document->current_page_number);
cb_view_vadjustment_value_changed(NULL, zathura);
Supports Markdown
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