aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
index c4206b18..85ce6a20 100644
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
+++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
@@ -927,10 +927,12 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
927 this.trackRepetition.selectedIndexes = [layerIndex]; 927 this.trackRepetition.selectedIndexes = [layerIndex];
928 this.currentLayerSelected = this.arrLayers[layerIndex]; 928 this.currentLayerSelected = this.arrLayers[layerIndex];
929 this.currentTrackSelected = this.arrTracks[layerIndex]; 929 this.currentTrackSelected = this.arrTracks[layerIndex];
930 if(this._captureSelection){ 930 if(!this._openDoc){
931 this.application.ninja.selectionController.selectElements(this.currentLayerSelected.elementsList) 931 if(this._captureSelection){
932 this.application.ninja.selectionController.selectElements(this.currentLayerSelected.elementsList)
933 }
934 this._captureSelection = true;
932 } 935 }
933 this._captureSelection = true;
934 } else { 936 } else {
935 this.layerRepetition.selectedIndexes = null; 937 this.layerRepetition.selectedIndexes = null;
936 this.trackRepetition.selectedIndexes = null; 938 this.trackRepetition.selectedIndexes = null;