Browse Source

clear search pad toolbar items when ClearLastSearchesList() is called

pull/341/merge
Daniel Grunwald 11 years ago
parent
commit
3de4c13def
  1. 5
      src/Main/Base/Project/Editor/Search/SearchResultsPad.cs

5
src/Main/Base/Project/Editor/Search/SearchResultsPad.cs

@ -100,6 +100,11 @@ namespace ICSharpCode.SharpDevelop.Editor.Search @@ -100,6 +100,11 @@ namespace ICSharpCode.SharpDevelop.Editor.Search
activeSearchResult = null;
}
SD.WinForms.SetContent(contentPlaceholder, null);
// clear search pad toolbar items when ClearLastSearchesList() is called
toolBar.Items.Clear();
foreach (object toolBarItem in defaultToolbarItems) {
toolBar.Items.Add(toolBarItem);
}
}
/// <summary>

Loading…
Cancel
Save