/[RomCheater]/trunk/RomCheater/Docking/UI/UIMemoryViewer.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/UI/UIMemoryViewer.cs

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

--- trunk/RomCheater/Docking/UI/UIMemoryViewer.cs	2012/05/31 07:13:43	198
+++ trunk/RomCheater/Docking/UI/UIMemoryViewer.cs	2012/05/31 07:20:43	199
@@ -42,7 +42,17 @@
             this.AcceptedPlugin = null; this.AcceptedProcess = null;
         }
         #region IProcessConfig Members
-        public Process AcceptedProcess { get; set; }
+        private Process _AcceptedProcess;
+        public Process AcceptedProcess
+        {
+            get { return _AcceptedProcess; }
+            set
+            {
+                _AcceptedProcess = value;
+                update_timer.Enabled = (value != null);
+                UpdateEnabled = update_timer.Enabled;
+            }
+        }
         #endregion
         #region IAcceptsPlugin<IConfigPlugin> Members
         public IConfigPlugin AcceptedPlugin { get; set; }

 

  ViewVC Help
Powered by ViewVC 1.1.22