소스 검색

Fixes #1806: Unexpected behavior with i-modified-class

svn changeset:4881/svn branch:trunk
tags/6.7.0.beta1
Joonas Lehtinen 16 년 전
부모
커밋
9a0712bbdb
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6
    0
      src/com/itmill/toolkit/ui/TextField.java

+ 6
- 0
src/com/itmill/toolkit/ui/TextField.java 파일 보기

@@ -229,7 +229,13 @@ public class TextField extends AbstractField {
}
if (newValue != oldValue
&& (newValue == null || !newValue.equals(oldValue))) {
boolean wasModified = isModified();
setValue(newValue, true);

// If the modified status changes, repaint is needed after all
if (wasModified != isModified()) {
requestRepaint();
}
}
}


Loading…
취소
저장