v1.2.1: fixed null pointer crashes with action hover text
This commit is contained in:
parent
8869abac93
commit
d1c477f8f2
|
@ -105,7 +105,12 @@ public class ActionIndicator extends Tag {
|
|||
|
||||
@Override
|
||||
protected String hoverText() {
|
||||
return Messages.titleCase(action.actionName());
|
||||
String text = action.actionName();
|
||||
if (text != null){
|
||||
return Messages.titleCase(text);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static void setAction(Action action){
|
||||
|
|
Loading…
Reference in New Issue
Block a user