mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 04:35:59 +01:00
Fix document update feature
This commit is contained in:
parent
0b2c7c3a12
commit
473e51b8dc
1 changed files with 1 additions and 1 deletions
|
@ -1219,12 +1219,12 @@ watch_file(void* parameter)
|
|||
int page = Zathura.PDF.page_number;
|
||||
|
||||
/* reopen and restore settings */
|
||||
gdk_threads_enter();
|
||||
cmd_close(0, NULL);
|
||||
open_file(path, password);
|
||||
|
||||
Zathura.PDF.scale = scale;
|
||||
|
||||
gdk_threads_enter();
|
||||
draw(page);
|
||||
gdk_threads_leave();
|
||||
|
||||
|
|
Loading…
Reference in a new issue