change zero value for phosphor into "0" (not "Off")

This commit is contained in:
thrust26 2020-02-08 11:18:46 +01:00
parent 7bdc263699
commit 915e11dc6c
1 changed files with 2 additions and 1 deletions

View File

@ -472,7 +472,8 @@ void VideoDialog::saveConfig()
instance().settings().setValue("tv.phosphor",
myTVPhosphor->getState() ? "always" : "byrom");
// TV phosphor blend
instance().settings().setValue("tv.phosblend", myTVPhosLevel->getValueLabel());
instance().settings().setValue("tv.phosblend", myTVPhosLevel->getValueLabel() == "Off"
? "0" : myTVPhosLevel->getValueLabel());
// TV scanline intensity
instance().settings().setValue("tv.scanlines", myTVScanIntense->getValueLabel());