Merge pull request #2433 from okrc/okrc-patch-1

Fixed issue with m_pColorslider changed not applied.
This commit is contained in:
DavidXanatos 2022-11-05 13:30:40 +01:00 committed by GitHub
commit f0d514e79c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -396,6 +396,8 @@ void COptionsWindow::OnColorSlider(int value)
{
my_hsv hsv = { (double)value, 1, 255 };
my_rgb rgb = hsv2rgb(hsv);
m_GeneralChanged = true;
OnOptChanged();
SetBoxColor(qRgb(rgb.r, rgb.g, rgb.b));
}