Merge pull request #2433 from okrc/okrc-patch-1
Fixed issue with m_pColorslider changed not applied.
This commit is contained in:
commit
f0d514e79c
|
@ -396,6 +396,8 @@ void COptionsWindow::OnColorSlider(int value)
|
||||||
{
|
{
|
||||||
my_hsv hsv = { (double)value, 1, 255 };
|
my_hsv hsv = { (double)value, 1, 255 };
|
||||||
my_rgb rgb = hsv2rgb(hsv);
|
my_rgb rgb = hsv2rgb(hsv);
|
||||||
|
m_GeneralChanged = true;
|
||||||
|
OnOptChanged();
|
||||||
SetBoxColor(qRgb(rgb.r, rgb.g, rgb.b));
|
SetBoxColor(qRgb(rgb.r, rgb.g, rgb.b));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue