Browse Source

Fixed ObjectDisposedException in Component Inspector when opening the FindDialog with no object selected.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3708 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Matt Ward 17 years ago
parent
commit
651d5e81ba
  1. 2
      src/AddIns/Misc/ComponentInspector/ComponentInspector.Core/Src/ObjectBrowser/Dialogs/FindDialog.cs

2
src/AddIns/Misc/ComponentInspector/ComponentInspector.Core/Src/ObjectBrowser/Dialogs/FindDialog.cs

@ -392,7 +392,7 @@ namespace NoGoop.ObjBrowser.Dialogs @@ -392,7 +392,7 @@ namespace NoGoop.ObjBrowser.Dialogs
{
TreeNode node = GetFirstSelectedNode();
if (node == null) {
Close();
Hide();
_instance = null;
ErrorDialog.Show(StringParser.Parse("${res:ComponentInspector.FindDialog.NoTreeNodeSelectedMessage}"),
StringParser.Parse("${res:ComponentInspector.FindDialog.NoTreeNodeSelectedDialogTitle}"),

Loading…
Cancel
Save