Changeset 2682


Ignore:
Timestamp:
Feb 14, 2011, 11:59:15 AM (11 years ago)
Author:
Matthäus Wander
Message:

WorkspaceManager:

  • NPE fix
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WorkspaceManager/View/VisualComponents/DataPresentation.xaml.cs

    r2119 r2682  
    8181                Connector = element;
    8282                this.Block = textBlock;
    83                 Caption = element.Model.ConnectorType.Name;
     83                if (element.Model.ConnectorType != null)
     84                {
     85                    Caption = element.Model.ConnectorType.Name;
     86                }
    8487                timer.Interval = new TimeSpan(0, 0, 5);
    8588                timer.Tick +=new EventHandler(timer_Tick);
Note: See TracChangeset for help on using the changeset viewer.