mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 20:23:49 +01:00
Restore 'pages-per-row' value
This commit is contained in:
parent
3ea2873c13
commit
b4f8fe3b5c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user