git://git.nikiroo.be
/
nikiroo-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5644a84
)
fix config ui desc NPE
author
Niki Roo
<niki@nikiroo.be>
Sun, 24 Mar 2019 17:29:17 +0000
(18:29 +0100)
committer
Niki Roo
<niki@nikiroo.be>
Sun, 24 Mar 2019 17:29:17 +0000
(18:29 +0100)
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 8545485d0dc2a98196796bb2ec305c502acb2755..691c6198319b24d71ea2710e6f96f7aa348a3c49 100644
(file)
--- a/
src/be/nikiroo/utils/ui/ConfigItem.java
+++ b/
src/be/nikiroo/utils/ui/ConfigItem.java
@@
-51,7
+51,7
@@
public class ConfigItem<E extends Enum<E>> extends JPanel {
String tooltip = null;
if (bundle.getDescriptionBundle() != null) {
tooltip = bundle.getDescriptionBundle().getString(id);
- if (tooltip.trim().isEmpty()) {
+ if (tooltip
!= null && tooltip
.trim().isEmpty()) {
tooltip = null;
}
}