summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/flpsed.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/flpsed.cxx b/src/flpsed.cxx
index 1492c5d..03f07ea 100644
--- a/src/flpsed.cxx
+++ b/src/flpsed.cxx
@@ -312,11 +312,12 @@ void zoom_cb(Fl_Widget *w, void *) {
Fl_Menu_* mw = (Fl_Menu_*)w;
const Fl_Menu_Item* m = mw->mvalue();
if (m) {
- if (scroll) {
- scroll->position(0,0);
- }
if (psed_p) {
psed_p->zoom(atoi(m->label()));
+ if (scroll) {
+ scroll->position(0,0);
+ scroll->redraw();
+ }
}
}
}