Author: sdzmitrovich
Date: 2009-05-23 07:05:30 -0400 (Sat, 23 May 2009)
New Revision: 15466
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/CSSClassDialog.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4317
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/CSSClassDialog.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/CSSClassDialog.java 2009-05-23
10:58:35 UTC (rev 15465)
+++
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/CSSClassDialog.java 2009-05-23
11:05:30 UTC (rev 15466)
@@ -249,6 +249,7 @@
* - name of new style class
*/
public void addNewClass(String styleClassName) {
+ getStyleComposite().clearStyleComposite();
cssModel.updateCSSStyle(selectorLabel, getStyleAttributes());
selectorLabel = cssModel.addCSSRule(styleClassName);
preview.setSelector(selectorLabel);