summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Views/LogView.xaml.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2016-03-21 12:57:48 +0000
committersr55 <[email protected]>2016-03-21 12:57:48 +0000
commita3e695dd5c0d23692ed0e99624723e39305cdd8d (patch)
treef0e35b49e53372022af3a78245668a76193230b4 /win/CS/HandBrakeWPF/Views/LogView.xaml.cs
parent9e9167bb63f14f176913cc42521d45639512c15a (diff)
WinGui: Some fixes and tidyup of the new logging code.
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/LogView.xaml.cs')
-rw-r--r--win/CS/HandBrakeWPF/Views/LogView.xaml.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Views/LogView.xaml.cs b/win/CS/HandBrakeWPF/Views/LogView.xaml.cs
index af07ae509..2ab427752 100644
--- a/win/CS/HandBrakeWPF/Views/LogView.xaml.cs
+++ b/win/CS/HandBrakeWPF/Views/LogView.xaml.cs
@@ -77,7 +77,11 @@ namespace HandBrakeWPF.Views
{
// This works better than Data Binding because of the scroll.
this.logText.AppendText(Environment.NewLine + e.Log.Content);
- this.logText.ScrollToEnd();
+
+ if (this.AutoScroll.IsChecked)
+ {
+ this.logText.ScrollToEnd();
+ }
}
}