Author: sdzmitrovich
Date: 2009-02-27 12:52:07 -0500 (Fri, 27 Feb 2009)
New Revision: 13894
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-3869
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-02-27
17:37:13 UTC (rev 13893)
+++
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/CSSClassDialog.java 2009-02-27
17:52:07 UTC (rev 13894)
@@ -600,12 +600,13 @@
// if new css was added
if (classCombo.indexOf(currentClassStyle) == -1) {
- applyButton.setEnabled(true);
classCombo.add(currentClassStyle);
- styleChanged = true;
- } else {
+// styleChanged = true;
+ } /*else {
styleChanged = false;
- }
+ }*/
+ applyButton.setEnabled(true);
+ styleChanged = true;
updateStyleComposite();
styleAttributes.setCssSelector(currentClassStyle);