From 47fa6eb8bb7a3006f51412aebdeb82eda4a50031 Mon Sep 17 00:00:00 2001 From: thrust26 Date: Sat, 8 Feb 2020 11:16:21 +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());