From d74d4f9ea2fc6b1cec083ea6ec45c137fa9a8d91 Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Tue, 9 Jun 2009 08:42:36 +0000 Subject: [PATCH] fix some bugs with external tools svn path=/trunk/tools/reactosdbg/; revision=1047 --- RosDBG/ExtTools.cs | 5 +++-- RosDBG/Properties/AssemblyInfo.cs | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/RosDBG/ExtTools.cs b/RosDBG/ExtTools.cs index 3f371e1..5da8ede 100644 --- a/RosDBG/ExtTools.cs +++ b/RosDBG/ExtTools.cs @@ -40,7 +40,8 @@ namespace RosDBG 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 @@ namespace RosDBG private void SaveItem(int Idx) { - if (!mAddRemove) + if ((!mAddRemove) && (Idx >= 0)) { ExternalTool item = new ExternalTool(txtTitle.Text, txtPath.Text); mUpdatingList = true; diff --git a/RosDBG/Properties/AssemblyInfo.cs b/RosDBG/Properties/AssemblyInfo.cs index b1b94df..de69869 100644 --- a/RosDBG/Properties/AssemblyInfo.cs +++ b/RosDBG/Properties/AssemblyInfo.cs @@ -39,5 +39,5 @@ using System.Runtime.InteropServices; // 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")]