Permalink
Browse files

Fixed possible refresh bug on button state

  • Loading branch information...
1 parent a7e4923 commit 6c6fdf7a0b0fb33c5d24c1a1aadd5cf5c5bb5b51 @nfrankel nfrankel committed Jun 11, 2012
@@ -107,15 +107,21 @@ public String getText() {
public void setSize(Size size) {
getState().setSize(size.toString());
+
+ requestRepaint();
}
public void setType(Type size) {
getState().setType(size.toString());
+
+ requestRepaint();
}
public void setText(String text) {
getState().setText(text);
+
+ requestRepaint();
}
}

0 comments on commit 6c6fdf7

Please sign in to comment.