Ticket #2437: 2437.patch
File 2437.patch, 769 bytes (added by diana, 15 years ago) |
---|
-
src/main/java/org/sophie2/base/model/text/mvc/TextModelLogic.java
### Eclipse Workspace Patch 1.0 #P org.sophie2.base.model.text
516 516 } 517 517 } 518 518 519 boolean oldValue = text.getStyleValue(attr, selection) == null ? 519 boolean oldValue = text.getEnd() == 0 520 || text.getStyleValue(attr, selection) == null ? 520 521 false : (Boolean)text.getStyleValue(attr, selection); 521 522 Object attrValue = !oldValue && !(Boolean) textModel.inputStyle().get().getValue(attr); 522 523 // Trim the params.