Browse Source

bug fix

master
XiaXiang 8 years ago
parent
commit
d6717b9a71
  1. 4
      designer_base/src/com/fr/design/mainframe/toolbar/ToolBarMenuDock.java

4
designer_base/src/com/fr/design/mainframe/toolbar/ToolBarMenuDock.java

@ -169,10 +169,10 @@ public abstract class ToolBarMenuDock {
if (menuDef instanceof OpenRecentReportMenuDef) {
return;
}
String ParentName = menuDef.getName();
String parentName = menuDef.getName();
for (ShortCut shortCut : menuDef.getShortcutList()) {
if (shortCut instanceof UpdateAction) {
shortCutsList.add(new UpdateActionModel(ParentName, (UpdateAction) shortCut));
shortCutsList.add(new UpdateActionModel(parentName, (UpdateAction) shortCut));
} else if (shortCut instanceof MenuDef) {
addUpdateActionToList((MenuDef) shortCut);
}

Loading…
Cancel
Save