Permalink
Browse files

fixes #3359 don't de-select subwidget on force from Style rule change

  • Loading branch information...
1 parent 897c594 commit 90a5eb041c3105b531dcd1129d197f783280734d @billreed63 billreed63 committed Sep 11, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 maqetta.core.client/WebContent/davinci/ve/themeEditor/Context.js
@@ -185,7 +185,13 @@ return declare([Context], {
},
onSelectionChange: function(selection){
- this.visualEditor._themeEditor._selectedSubWidget = null;
+ if (!this._forceSelectionChange) {
+ /*
+ * This can be called from onContentChange in ve/context
+ * So in that case we don't want to deslect the subwidget
+ */
+ this.visualEditor._themeEditor._selectedSubWidget = null;
+ }
this.inherited(arguments);
},

0 comments on commit 90a5eb0

Please sign in to comment.