Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/20/17 09:33:19 (7 years ago)
Author:
pfleck
Message:

#2788: merged r14995, r15003

Location:
stable
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Core.Views/3.3/ItemView.cs

    r14186 r15038  
    2929  /// </summary>
    3030  public partial class ItemView : AsynchronousContentView {
    31     public const int MaximumNestingLevel = 35;
    32 
    3331    public new IItem Content {
    3432      get { return (IItem)base.Content; }
     
    4644      base.OnInitialized(e);
    4745
    48       if (CountParentControls() > MaximumNestingLevel) {
     46      if (CountParentControls() > Properties.Settings.Default.MaximumNestedControls) {
    4947        //capture content, needed because it is set at a later time
    5048        NestingLevelErrorControl errorControl = new NestingLevelErrorControl(() => Content, this.GetType());
Note: See TracChangeset for help on using the changeset viewer.