/[RomCheater]/trunk/RomCheater.RVACalculator/RVACalculatorDockControl.cs
ViewVC logotype

Diff of /trunk/RomCheater.RVACalculator/RVACalculatorDockControl.cs

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

--- trunk/RomCheater.RVACalculator/RVACalculatorDockControl.cs	2013/06/17 03:28:46	666
+++ trunk/RomCheater.RVACalculator/RVACalculatorDockControl.cs	2013/06/17 03:32:25	667
@@ -77,8 +77,10 @@
 
         private void btnCopy_Click(object sender, EventArgs e)
         {
-            string name = string.Empty;
-            string address = string.Empty;
+            if (lstCheats.SelectedItems.Count == 0 || lstCheats.SelectedItems.Count > 1) { return; }
+            var li = lstCheats.SelectedItems[0];
+            string physical = li.SubItems[2].Text;
+            Clipboard.SetText(physical);
         }
 
         private void btnSave_Click(object sender, EventArgs e)

 

  ViewVC Help
Powered by ViewVC 1.1.22