[ros-diffs] [cwittich] 41355: fix some bugs with external tools

cwittich at svn.reactos.org cwittich at svn.reactos.org
Tue Jun 9 10:42:37 CEST 2009


Author: cwittich
Date: Tue Jun  9 12:42:36 2009
New Revision: 41355

URL: http://svn.reactos.org/svn/reactos?rev=41355&view=rev
Log:
fix some bugs with external tools

Modified:
    trunk/tools/reactosdbg/RosDBG/ExtTools.cs
    trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs

Modified: trunk/tools/reactosdbg/RosDBG/ExtTools.cs
URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/ExtTools.cs?rev=41355&r1=41354&r2=41355&view=diff
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/ExtTools.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/ExtTools.cs [iso-8859-1] Tue Jun  9 12:42:36 2009
@@ -40,7 +40,8 @@
             mAddRemove = true; 
             ExternalTool t = new ExternalTool();
             ToolsListBox.Items.Add(t);
-            ToolsListBox.SelectedIndex = ToolsListBox.Items.Count - 1;
+            mExternalToolsList.Add(t);
+            ToolsListBox.SelectedIndex = ToolsListBox.Items.Count - 1; 
             btnRemove.Enabled = true;
             mAddRemove = false;
         }
@@ -71,7 +72,7 @@
 
         private void SaveItem(int Idx)
         {
-            if (!mAddRemove)
+            if ((!mAddRemove) && (Idx >= 0))
             {
                 ExternalTool item = new ExternalTool(txtTitle.Text, txtPath.Text);     
                 mUpdatingList = true;

Modified: trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs
URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs?rev=41355&r1=41354&r2=41355&view=diff
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs [iso-8859-1] Tue Jun  9 12:42:36 2009
@@ -39,5 +39,5 @@
 // will be increased as well. MSI installers must not be generated with the same Build Number
 // otherwise they won't upgrade the old installation!
 
-[assembly: AssemblyVersion("1.0.2.61")]
-[assembly: AssemblyFileVersion("1.0.2.61")]
+[assembly: AssemblyVersion("1.0.2.62")]
+[assembly: AssemblyFileVersion("1.0.2.62")]



More information about the Ros-diffs mailing list