ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater/RomCheaterConfigDialog.cs
(Generate patch)

Comparing trunk/RomCheater/RomCheaterConfigDialog.cs (file contents):
Revision 86 by william, Wed May 9 19:41:06 2012 UTC vs.
Revision 92 by william, Wed May 9 21:42:21 2012 UTC

--- trunk/RomCheater/RomCheaterConfigDialog.cs	2012/05/09 19:41:06	86
+++ trunk/RomCheater/RomCheaterConfigDialog.cs	2012/05/09 21:42:21	92
@@ -115,7 +115,6 @@ namespace RomCheater
         private void btnCancel_Click(object sender, EventArgs e)
         {
             this.Close();
-            object c;
         }
         private void SaveSettings()
         {
@@ -129,10 +128,12 @@ namespace RomCheater
         {
             logger.Debug.WriteLine("    Setting LastConfigPlugin to {0}", comboConfigPlugins.Items[comboConfigPlugins.SelectedIndex].ToString());
             RomCheater.Properties.Settings.Default.LastConfigPlugin = comboConfigPlugins.Items[comboConfigPlugins.SelectedIndex].ToString();
-            logger.Debug.WriteLine("    Setting LastInputPlugin to {0}", comboInputPlugins.Items[comboConfigPlugins.SelectedIndex].ToString());
-            RomCheater.Properties.Settings.Default.LastInputPlugin = comboInputPlugins.Items[comboConfigPlugins.SelectedIndex].ToString();
-            logger.Debug.WriteLine("    Setting LastWindowPlugin to {0}", comboWindowPlugins.Items[comboConfigPlugins.SelectedIndex].ToString());
-            RomCheater.Properties.Settings.Default.LastWindowPlugin = comboWindowPlugins.Items[comboConfigPlugins.SelectedIndex].ToString();
+
+            logger.Debug.WriteLine("    Setting LastInputPlugin to {0}", comboInputPlugins.Items[comboInputPlugins.SelectedIndex].ToString());
+            RomCheater.Properties.Settings.Default.LastInputPlugin = comboInputPlugins.Items[comboInputPlugins.SelectedIndex].ToString();
+
+            logger.Debug.WriteLine("    Setting LastWindowPlugin to {0}", comboWindowPlugins.Items[comboWindowPlugins.SelectedIndex].ToString());
+            RomCheater.Properties.Settings.Default.LastWindowPlugin = comboWindowPlugins.Items[comboWindowPlugins.SelectedIndex].ToString();
         }
         private void SaveLoggingFlags()
         {