We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 303fa5d + 8866b3f commit d44740eCopy full SHA for d44740e
src/main/java/com/flowingcode/addons/applayout/menu/MenuItem.java
@@ -68,7 +68,9 @@ public String getLabel() {
68
69
public void setLabel(String label) {
70
this.label = label;
71
- this.refreshCallback.run();
+ if (refreshCallback!=null) {
72
+ this.refreshCallback.run();
73
+ }
74
}
75
76
public Command getCommand() {
@@ -82,10 +84,12 @@ public void setCommand(Command command) {
82
84
public String getIcon() {
83
85
return icon;
86
-
87
+
88
public void setIcon(String icon) {
89
this.icon = icon;
90
91
92
93
94
95
public List<MenuItem> getSubMenuItems() {
0 commit comments