Commit b4f8fe3b authored by Moritz Lipp's avatar Moritz Lipp
Browse files

Restore 'pages-per-row' value

parent 3ea2873c
...@@ -625,6 +625,8 @@ document_open(zathura_t* zathura, const char* path, const char* password) ...@@ -625,6 +625,8 @@ document_open(zathura_t* zathura, const char* path, const char* password)
} else { } else {
girara_setting_get(zathura->ui.session, "pages-per-row", &pages_per_row); girara_setting_get(zathura->ui.session, "pages-per-row", &pages_per_row);
} }
girara_setting_set(zathura->ui.session, "pages-per-row", &pages_per_row);
page_widget_set_mode(zathura, pages_per_row); page_widget_set_mode(zathura, pages_per_row);
girara_set_view(zathura->ui.session, zathura->ui.page_widget_alignment); girara_set_view(zathura->ui.session, zathura->ui.page_widget_alignment);
......
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