Commit 17260d99 authored by Gus Grubba's avatar Gus Grubba

Check the proper place to see if a saved video source is no longer available.

parent 4ee31e16
......@@ -90,7 +90,7 @@ DECLARE_SETTINGSFACT_NO_FUNC(VideoSettings, videoSource)
if (!_videoSourceFact) {
_videoSourceFact = _createSettingsFact(videoSourceName);
//-- Check for sources no longer available
if(!_nameToMetaDataMap.contains(_videoSourceFact->rawValue().toString())) {
if(!_videoSourceFact->enumStrings().contains(_videoSourceFact->rawValue().toString())) {
if (_noVideo) {
_videoSourceFact->setRawValue(videoSourceNoVideo);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment