Browse Source

bug fix

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

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

@ -166,11 +166,10 @@ public abstract class ToolBarMenuDock {
* @param menuDef * @param menuDef
*/ */
private void addUpdateActionToList(MenuDef menuDef) { private void addUpdateActionToList(MenuDef menuDef) {
String ParentName = menuDef.getName();
if (menuDef instanceof OpenRecentReportMenuDef) { if (menuDef instanceof OpenRecentReportMenuDef) {
return; return;
} }
String ParentName = menuDef.getName();
for (ShortCut shortCut : menuDef.getShortcutList()) { for (ShortCut shortCut : menuDef.getShortcutList()) {
if (shortCut instanceof UpdateAction) { if (shortCut instanceof UpdateAction) {
shortCutsList.add(new UpdateActionModel(ParentName, (UpdateAction) shortCut)); shortCutsList.add(new UpdateActionModel(ParentName, (UpdateAction) shortCut));

Loading…
Cancel
Save