Changeset 7412


Ignore:
Timestamp:
11/23/17 09:21:02 (17 months ago)
Author:
avneesh-singh
Message:

import audio files in each section starts from current selection

File:
1 edited

Legend:

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

    r7409 r7412  
    31003100             
    31013101            if (Selection != null) command.ChildCommands.Insert(command.ChildCommands.Count, new Commands.UpdateSelection(this, new NodeSelection(Selection.Node, Selection.Control))); 
    3102             SectionNode firstSection = mPresentation.FirstSection; 
     3102            SectionNode firstSection = null; 
     3103            if (Selection != null && Selection.Node is SectionNode) 
     3104            { 
     3105                firstSection = (SectionNode)Selection.Node; 
     3106            } 
     3107            else 
     3108            { 
     3109                firstSection = mPresentation.FirstSection; 
     3110            } 
    31033111            int phraseCounter = 0 ; 
    31043112 
Note: See TracChangeset for help on using the changeset viewer.