/[RomCheater]/trunk/RomCheater.Logging/LogWriter.cs
ViewVC logotype

Diff of /trunk/RomCheater.Logging/LogWriter.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/RomCheater.Logging/LogWriter.cs	2012/06/05 13:49:07	307
+++ trunk/RomCheater.Logging/LogWriter.cs	2012/06/05 13:52:37	308
@@ -54,7 +54,22 @@
         //private StreamWriter sw;
         //private StreamReader sr;
         private bool _AutoScroll;
-        new public bool AutoScroll { get { return _AutoScroll; } set { _AutoScroll = value; autoscroll_timer.Enabled = value; } }
+        new public bool AutoScroll
+        {
+            get
+            {
+                return _AutoScroll;
+            }
+            set
+            {
+                if (!_AutoScroll)
+                    chkAutoScroll.Checked = true;
+                if (AutoScroll && !value)
+                    chkAutoScroll.Checked = false;
+                _AutoScroll = value; 
+                autoscroll_timer.Enabled = value;
+            }
+        }
 
         private bool _RedirectConsoleOutput;
         public bool RedirectConsoleOutput

 

  ViewVC Help
Powered by ViewVC 1.1.22