diff --git a/src/fl_show_colormap.cxx b/src/fl_show_colormap.cxx index 133f074c3..bccf4e2c8 100644 --- a/src/fl_show_colormap.cxx +++ b/src/fl_show_colormap.cxx @@ -53,7 +53,8 @@ ColorMenu::ColorMenu(Fl_Color oldcol) : Fl_Window(BOXSIZE*8+1+2*BORDER, BOXSIZE*32+1+2*BORDER) { clear_border(); set_modal(); - initial = which = oldcol; + initial = which = previous = oldcol; + done = 0; } void ColorMenu::drawbox(Fl_Color c) {