From 61404b1965ffe7011ec86953f853f0954ccc308d Mon Sep 17 00:00:00 2001 From: Jonathan Duran Date: Wed, 4 Apr 2012 11:11:09 -0700 Subject: Changing layer name should put dirty flag on doc Signed-off-by: Jonathan Duran --- js/panels/Timeline/Layer.reel/Layer.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js/panels/Timeline') diff --git a/js/panels/Timeline/Layer.reel/Layer.js b/js/panels/Timeline/Layer.reel/Layer.js index 5a393039..2f0310a9 100644 --- a/js/panels/Timeline/Layer.reel/Layer.js +++ b/js/panels/Timeline/Layer.reel/Layer.js @@ -493,6 +493,7 @@ var Layer = exports.Layer = Montage.create(Component, { that.dynamicLayerName.value = that._layerEditable.value; this.application.ninja.timeline.currentLayerSelected.layerData.elementsList[0].dataset.storedLayerName = that.dynamicLayerName.value; that.needsDraw = true; + this.application.ninja.documentController.activeDocument.needsSave = true; }, false); this._layerEditable.editingClass = "editable2"; this._layerEditable.value = this.layerName; -- cgit v1.2.3