mirror of
https://github.com/reactos/reactosdbg.git
synced 2024-11-26 21:20:22 +00:00
fix some bugs with external tools
svn path=/trunk/tools/reactosdbg/; revision=1047
This commit is contained in:
parent
6749972535
commit
d74d4f9ea2
@ -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;
|
||||
|
@ -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")]
|
||||
|
Loading…
Reference in New Issue
Block a user