diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/GsWidget.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/GsWidget.cxx b/src/GsWidget.cxx index 7dded29..0453f44 100644 --- a/src/GsWidget.cxx +++ b/src/GsWidget.cxx @@ -216,6 +216,8 @@ GsWidget::load_page(int p) { fl_cursor(FL_CURSOR_WAIT); kill_gs(); + page = p; + if (!offscreen) { reload_needed = 1; return 0; @@ -241,7 +243,6 @@ GsWidget::load_page(int p) { size_t len; gs_pid = pid; - page = p; close(pdes[0]); |