Update the correct inputs when typing in the HTML box in the color picker

This commit is contained in:
Thomas Goyne 2012-11-22 08:29:33 -08:00
parent ded55272a0
commit a4311b50f7
1 changed files with 1 additions and 1 deletions

View File

@ -920,7 +920,7 @@ void DialogColorPicker::UpdateFromHTML()
SetRGB(color); SetRGB(color);
SetHSL(color.r, color.g, color.b); SetHSL(color.r, color.g, color.b);
SetHSV(color.r, color.g, color.b); SetHSV(color.r, color.g, color.b);
html_input->ChangeValue(to_wx(cur_color.GetHexFormatted())); ass_input->ChangeValue(to_wx(cur_color.GetAssOverrideFormatted()));
spectrum_dirty = true; spectrum_dirty = true;
UpdateSpectrumDisplay(); UpdateSpectrumDisplay();