aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-03-10 11:42:50 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:19 +0100
commita47d84932a40867dc82c62f8a35883b0b0d11446 (patch)
treed0713beb8a2d2e656712f87e8de4b42a87c29bea /src
parentef3e9f77dadd2456a779c5e64e68f8112f4b90f7 (diff)
hdfsee: Update properly when changing the colour scale
Diffstat (limited to 'src')
-rw-r--r--src/dw-hdfsee.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c
index db977d0b..81a59e52 100644
--- a/src/dw-hdfsee.c
+++ b/src/dw-hdfsee.c
@@ -1211,8 +1211,7 @@ static gint displaywindow_setscale(GtkWidget *widget, GtkRadioAction *action,
case 1 : dw->scale = SCALE_MONO; break;
case 2 : dw->scale = SCALE_INVMONO; break;
}
- update_colscale(dw);
- redraw_window(dw);
+ displaywindow_update(dw);
return 0;
}