Changeset 3210


Ignore:
Timestamp:
03/25/10 00:53:14 (12 years ago)
Author:
swagner
Message:

Implemented reviewers' comments (#893).

File:
1 edited

Legend:

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

    r3177 r3210  
    7575    private void Initialize() {
    7676      viewsLabel.Visible = false;
     77      viewsLabel.Enabled = false;
    7778      viewContextMenuStrip.Enabled = false;
    7879      messageLabel.Visible = false;
     
    8788        } else {
    8889          viewsLabel.Visible = true;
    89           viewContextMenuStrip.Enabled = true;
     90          viewsLabel.Enabled = viewContextMenuStrip.Items.Count > 1;
     91          viewContextMenuStrip.Enabled = viewContextMenuStrip.Items.Count > 1; ;
    9092        }
    9193
Note: See TracChangeset for help on using the changeset viewer.