Browse Source

REPORT-419 dev里面这块代码好像没合

master
kerry 8 years ago
parent
commit
2c7281d4ba
  1. 4
      designer_base/src/com/fr/design/mainframe/toolbar/ToolBarMenuDock.java

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

@ -265,7 +265,7 @@ public abstract class ToolBarMenuDock {
);
if (!BaseUtils.isAuthorityEditing()) {
if (shouldShowPlugin() && !(FRContext.getCurrentEnv() instanceof RemoteEnv)) {
if (shouldShowPlugin()) {
menuDef.addShortCut(
new PluginManagerAction()
);
@ -286,7 +286,7 @@ public abstract class ToolBarMenuDock {
}
protected boolean shouldShowPlugin() {
return FRContext.isChineseEnv() || ComparatorUtils.equals(GeneralContext.getLocale(), Locale.TAIWAN);
return !(FRContext.getCurrentEnv() instanceof RemoteEnv) && FRContext.isChineseEnv();
}
/**

Loading…
Cancel
Save