From 915e11dc6c6b0836e0977bd521fe9ac7abafeee4 Mon Sep 17 00:00:00 2001 From: thrust26 Date: Sat, 8 Feb 2020 11:18:46 +0100 Subject: [PATCH] change zero value for phosphor into "0" (not "Off") --- src/gui/VideoDialog.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/VideoDialog.cxx b/src/gui/VideoDialog.cxx index 90e126918..981e1a4e0 100644 --- a/src/gui/VideoDialog.cxx +++ b/src/gui/VideoDialog.cxx @@ -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());