Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/19/10 22:16:27 (14 years ago)
Author:
mkommend
Message:

added setting of locked property after the creation of contentviews (ticket #982)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/EngineAlgorithmView.cs

    r3367 r3423  
    158158
    159159    protected virtual void createUserDefinedAlgorithmButton_Click(object sender, EventArgs e) {
    160       MainFormManager.CreateDefaultView(Content.CreateUserDefinedAlgorithm()).Show();
     160      IContentView view = MainFormManager.CreateDefaultView(Content.CreateUserDefinedAlgorithm());
     161      if (view != null) {
     162        view.ReadOnly = this.ReadOnly;
     163        view.Locked = this.Locked;
     164        view.Show();
     165      }
    161166    }
    162167  }
Note: See TracChangeset for help on using the changeset viewer.