Changeset 7627


Ignore:
Timestamp:
03/16/19 06:38:46 (5 weeks ago)
Author:
rohit_tandon
Message:

-> minor. null check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Obi/Obi/ProjectView/ContentView.cs

    r7626 r7627  
    56235623        private void ProjectView_SelectionChanged ( object sender, EventArgs e ) 
    56245624            { 
    5625                 if (this.ActiveStrip.IsCommentEditLabelActive) 
     5625                if (this.ActiveStrip != null && this.ActiveStrip.IsCommentEditLabelActive) 
    56265626                { 
    56275627                    this.ActiveStrip.RemoveEditLabelControlForAddingComment(); 
     
    59935993        public bool ShowEditLabelToAddComment() 
    59945994        { 
    5995             if (this.mProjectView.TransportBar.IsPlayerActive) 
    5996             { 
    5997                 this.mProjectView.TransportBar.Pause(); 
     5995            if (mProjectView.Selection != null && mProjectView.TransportBar.IsPlayerActive) 
     5996            { 
     5997                mProjectView.TransportBar.Pause(); 
    59985998 
    59995999                if (!(mProjectView.Selection.Node is EmptyNode)) 
Note: See TracChangeset for help on using the changeset viewer.