git://git.nikiroo.be
/
fanfix-jexer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd3d510
)
fix config item '+' repaint
author
Niki Roo
<niki@nikiroo.be>
Wed, 29 May 2019 20:17:03 +0000
(22:17 +0200)
committer
Niki Roo
<niki@nikiroo.be>
Wed, 29 May 2019 20:17:03 +0000
(22:17 +0200)
src/be/nikiroo/utils/ui/ConfigItem.java
patch
|
blob
|
blame
|
history
diff --git
a/src/be/nikiroo/utils/ui/ConfigItem.java
b/src/be/nikiroo/utils/ui/ConfigItem.java
index f974969335c2a5b2d725e5682cfe04e8e47420ad..c6b40753addabce25fc9d10c8b01c6ac426d7905 100644
(file)
--- a/
src/be/nikiroo/utils/ui/ConfigItem.java
+++ b/
src/be/nikiroo/utils/ui/ConfigItem.java
@@
-136,13
+136,8
@@
public class ConfigItem<E extends Enum<E>> extends JPanel {
.getListSize(false));
main.add(field);
- // TODO this doesn't woooooorkk
- add.invalidate();
- field.invalidate();
- main.invalidate();
- ConfigItem.this.repaint();
- ConfigItem.this.validate();
- ConfigItem.this.repaint();
+ main.revalidate();
+ main.repaint();
}
});