diff options
Diffstat (limited to 'js/panels/css-panel/styles-view-delegate.js')
-rw-r--r-- | js/panels/css-panel/styles-view-delegate.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/panels/css-panel/styles-view-delegate.js b/js/panels/css-panel/styles-view-delegate.js index 3f29ba27..aba8c042 100644 --- a/js/panels/css-panel/styles-view-delegate.js +++ b/js/panels/css-panel/styles-view-delegate.js | |||
@@ -246,7 +246,9 @@ exports.StylesViewMediator = Montage.create(Component, { | |||
246 | },this); | 246 | },this); |
247 | 247 | ||
248 | ///// Add rule directly to the rule list | 248 | ///// Add rule directly to the rule list |
249 | this.ruleListContainer.displayedList.component.addRule(newRule).applied = applies; | 249 | this.ruleListContainer.displayedList.component.addRule(newRule, null, applies, function(ruleComponent) { |
250 | ruleComponent.selectorField.start(); | ||
251 | }); | ||
250 | 252 | ||
251 | } | 253 | } |
252 | }, | 254 | }, |