Changeset 10107


Ignore:
Timestamp:
11/05/13 11:47:21 (6 years ago)
Author:
jkarder
Message:

#2116: fixed logic in LinkClicked event handler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Breadcrumbs/HeuristicLab.MainForm.WindowsForms/3.3/Controls/BreadcrumbControl.cs

    r10103 r10107  
    131131      var outermostViewHost = mainForm.GetOutermostControlOfType<ViewHost>(ViewHost);
    132132      bool showBreadcrumbs = outermostViewHost.ShowBreadcrumbs;
     133      var oldCrumbs = outermostViewHost.Breadcrumbs;
    133134      outermostViewHost.Content = null;
    134135      var viewType = MainFormManager.GetDefaultViewType(content.GetType());
    135136      outermostViewHost.ViewType = viewType;
    136137      outermostViewHost.Content = content;
    137       outermostViewHost.UpdateBreadcrumbTrail(outermostViewHost.Breadcrumbs, breadcrumbs);
     138      outermostViewHost.UpdateBreadcrumbTrail(oldCrumbs, breadcrumbs);
    138139      outermostViewHost.ShowBreadcrumbs = showBreadcrumbs;
    139140    }
Note: See TracChangeset for help on using the changeset viewer.