We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6213d4d commit 8478410Copy full SHA for 8478410
1 file changed
VidCoder/ViewModel/MainViewModel.cs
@@ -3331,7 +3331,11 @@ private void StartScan(string path)
3331
else
3332
{
3333
this.SourceData = new VideoSource { Titles = this.scanInstance.Titles, FeatureTitle = this.scanInstance.FeatureTitle };
3334
- SourceHistory.AddToHistory(this.sourcePath);
+
3335
+ if (this.SelectedSource != null && (this.SelectedSource.Type == SourceType.File || this.SelectedSource.Type == SourceType.VideoFolder))
3336
+ {
3337
+ SourceHistory.AddToHistory(this.sourcePath);
3338
+ }
3339
3340
this.logger.Log("Scan completed");
3341
}
0 commit comments