- Timestamp:
- 11/04/13 10:15:31 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Breadcrumbs/HeuristicLab.Core.Views/3.3/ItemListView.cs
r10093 r10103 246 246 var mainForm = MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>(); 247 247 var outermostViewHost = mainForm.ShowContentInOutermostViewHost(item, this, true); 248 if (outermostViewHost .HotlinkingEnabled) {248 if (outermostViewHost != null && outermostViewHost.HotlinkingEnabled) { 249 249 outermostViewHost.ActiveView.ReadOnly = ReadOnly; 250 250 outermostViewHost.ActiveView.Locked = Locked; … … 275 275 var mainForm = MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>(); 276 276 var outermostViewHost = mainForm.ShowContentInOutermostViewHost(item, this); 277 outermostViewHost.ActiveView.ReadOnly = ReadOnly; 278 outermostViewHost.ActiveView.Locked = Locked; 277 if (outermostViewHost != null) { 278 outermostViewHost.ActiveView.ReadOnly = ReadOnly; 279 outermostViewHost.ActiveView.Locked = Locked; 280 } 279 281 } 280 282 }
Note: See TracChangeset
for help on using the changeset viewer.