Changeset 14995
- Timestamp:
- 05/18/17 10:54:05 (8 years ago)
- Location:
- trunk/sources/HeuristicLab.Core.Views/3.3
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/HeuristicLab.Core.Views-3.3.csproj
r13573 r14995 122 122 </ItemGroup> 123 123 <ItemGroup> 124 <None Include="app.config" /> 124 125 <None Include="Plugin.cs.frame" /> 125 126 <Compile Include="BreadcrumbViewHost.cs"> … … 172 173 </Compile> 173 174 <Compile Include="Plugin.cs" /> 175 <Compile Include="Properties\Settings.Designer.cs"> 176 <AutoGen>True</AutoGen> 177 <DesignTimeSharedInput>True</DesignTimeSharedInput> 178 <DependentUpon>Settings.settings</DependentUpon> 179 </Compile> 174 180 <Compile Include="VariableValueView.cs"> 175 181 <SubType>UserControl</SubType> … … 329 335 <DependentUpon>VariableView.cs</DependentUpon> 330 336 </Compile> 337 <None Include="Properties\Settings.settings"> 338 <Generator>SettingsSingleFileGenerator</Generator> 339 <LastGenOutput>Settings.Designer.cs</LastGenOutput> 340 </None> 331 341 </ItemGroup> 332 342 <ItemGroup> -
trunk/sources/HeuristicLab.Core.Views/3.3/ItemView.cs
r14185 r14995 29 29 /// </summary> 30 30 public partial class ItemView : AsynchronousContentView { 31 public const int MaximumNestingLevel = 35;32 33 31 public new IItem Content { 34 32 get { return (IItem)base.Content; } … … 46 44 base.OnInitialized(e); 47 45 48 if (CountParentControls() > MaximumNestingLevel) {46 if (CountParentControls() > Properties.Settings.Default.MaximumNestedControls) { 49 47 //capture content, needed because it is set at a later time 50 48 NestingLevelErrorControl errorControl = new NestingLevelErrorControl(() => Content, this.GetType());
Note: See TracChangeset
for help on using the changeset viewer.