diff --git a/ear-production-suite-plugins/plugins/binaural_monitoring/src/binaural_monitoring_plugin_processor.cpp b/ear-production-suite-plugins/plugins/binaural_monitoring/src/binaural_monitoring_plugin_processor.cpp index eea34f39..a5a75e2c 100644 --- a/ear-production-suite-plugins/plugins/binaural_monitoring/src/binaural_monitoring_plugin_processor.cpp +++ b/ear-production-suite-plugins/plugins/binaural_monitoring/src/binaural_monitoring_plugin_processor.cpp @@ -247,9 +247,10 @@ bool EarBinauralMonitoringAudioProcessor::readConfigFile() { *oscInvertQuatY_ = props.getBoolValue("oscInvertQuatY", false); *oscInvertQuatZ_ = props.getBoolValue("oscInvertQuatZ", false); auto selectedDataFile = props.getValue("bearPreferredDataFile"); - if (selectedDataFile.isEmpty() || - !dataFileManager.setSelectedDataFile(selectedDataFile)) { + if (selectedDataFile.isEmpty()){ dataFileManager.setSelectedDataFileDefault(); + } else { + dataFileManager.setSelectedDataFile(selectedDataFile); // Attempt even if no longer exists } configRestoreState = ConfigRestoreState::RESTORED; return true;