summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF
diff options
context:
space:
mode:
authorsr55 <[email protected]>2016-12-28 14:34:13 +0000
committersr55 <[email protected]>2016-12-28 14:34:13 +0000
commitae9a19456eff0d5a4c41bab353a9084823e211ed (patch)
treed42bb9aa40bfbcede078fb898c1827a2859658c6 /win/CS/HandBrakeWPF
parent9594aede7d8888e3b03e9626e3c7b807ae1d1bed (diff)
WinGui: Don't open the source panel on launch if we are scanning a file by command line arguments.
Diffstat (limited to 'win/CS/HandBrakeWPF')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
index 9f7ad8cb3..2fa5425a5 100644
--- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
@@ -1531,8 +1531,6 @@ namespace HandBrakeWPF.ViewModels
if (dialogResult.HasValue && dialogResult.Value)
{
- ShowSourceSelection = false;
-
this.StartScan(dialog.SelectedPath, this.TitleSpecificScan);
}
}
@@ -1547,8 +1545,6 @@ namespace HandBrakeWPF.ViewModels
if (dialogResult.HasValue && dialogResult.Value)
{
- ShowSourceSelection = false;
-
this.StartScan(dialog.FileName, this.TitleSpecificScan);
}
}
@@ -2038,6 +2034,7 @@ namespace HandBrakeWPF.ViewModels
{
if (!string.IsNullOrEmpty(filename))
{
+ ShowSourceSelection = false;
this.scanService.Scan(filename, title, null, HBConfigurationFactory.Create());
}
}