diff options
author | Jon Reid | 2012-04-17 15:30:44 -0700 |
---|---|---|
committer | Jon Reid | 2012-04-17 15:30:44 -0700 |
commit | d6f3f53a86f4efc45eabb519c94456731f6425e1 (patch) | |
tree | 1871ac3e2c26ef8b0d38b170006cb31d75e93586 /js/panels/Timeline/Layer.reel/Layer.js | |
parent | df1de25aaf7c7b552946dc0f616c488d6a980ea0 (diff) | |
download | ninja-d6f3f53a86f4efc45eabb519c94456731f6425e1.tar.gz |
Timeline: Bug fix: changing layer name didn't save in some circumstances.
Diffstat (limited to 'js/panels/Timeline/Layer.reel/Layer.js')
-rw-r--r-- | js/panels/Timeline/Layer.reel/Layer.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/panels/Timeline/Layer.reel/Layer.js b/js/panels/Timeline/Layer.reel/Layer.js index 3bc87f68..36c77018 100644 --- a/js/panels/Timeline/Layer.reel/Layer.js +++ b/js/panels/Timeline/Layer.reel/Layer.js | |||
@@ -758,6 +758,8 @@ var Layer = exports.Layer = Montage.create(Component, { | |||
758 | } | 758 | } |
759 | this.dynamicLayerName.value = newVal; | 759 | this.dynamicLayerName.value = newVal; |
760 | this.layerName = newVal; | 760 | this.layerName = newVal; |
761 | this.application.ninja.timeline.currentLayerSelected.layerData.elementsList[0].dataset.storedLayerName = newVal; | ||
762 | this.application.ninja.documentController.activeDocument.needsSave = true; | ||
761 | this.needsDraw = true; | 763 | this.needsDraw = true; |
762 | } | 764 | } |
763 | }, | 765 | }, |