Changeset 2953


Ignore:
Timestamp:
03/07/10 03:16:44 (12 years ago)
Author:
swagner
Message:

Implemented reviewers' comments on version r2917 (#893).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core.Views/3.3/TypeSelector.cs

    r2952 r2953  
    279279    private void SetTreeNodeVisibility() {
    280280      TreeNode selectedNode = typesTreeView.SelectedNode;
    281       if (string.IsNullOrEmpty(currentSearchString)) {
     281      if (string.IsNullOrEmpty(currentSearchString) && (typesTreeView.Nodes.Count > 1)) {
    282282        typesTreeView.CollapseAll();
    283283        if (selectedNode != null) typesTreeView.SelectedNode = selectedNode;
Note: See TracChangeset for help on using the changeset viewer.