diff options
Diffstat (limited to 'js/panels/css-panel/styles-view-delegate.js')
-rw-r--r-- | js/panels/css-panel/styles-view-delegate.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/panels/css-panel/styles-view-delegate.js b/js/panels/css-panel/styles-view-delegate.js index 5229b92e..d607a0ba 100644 --- a/js/panels/css-panel/styles-view-delegate.js +++ b/js/panels/css-panel/styles-view-delegate.js | |||
@@ -145,7 +145,7 @@ exports.StylesViewDelegate = Montage.create(Component, { | |||
145 | if(nextFocus) { | 145 | if(nextFocus) { |
146 | nextFocus.propertyField.start(); | 146 | nextFocus.propertyField.start(); |
147 | } else if(style.dirty) { | 147 | } else if(style.dirty) { |
148 | style.parentComponent.parentComponent.addNewStyle(); | 148 | style.parentComponent.parentComponent.addNewStyle(true); |
149 | style.editingNewStyle = false; | 149 | style.editingNewStyle = false; |
150 | setTimeout(function() { | 150 | setTimeout(function() { |
151 | style.getSiblingStyle('next').propertyField.start(); | 151 | style.getSiblingStyle('next').propertyField.start(); |