Browse Source

bug fix

master
XiaXiang 8 years ago
parent
commit
08fbc8ec67
  1. 2
      designer/src/com/fr/design/mainframe/alphafine/search/manager/ActionSearchManager.java

2
designer/src/com/fr/design/mainframe/alphafine/search/manager/ActionSearchManager.java

@ -41,7 +41,7 @@ public class ActionSearchManager implements AlphaFineSearchProcessor {
public static ActionModel getModelFromCloud(String actionName) { public static ActionModel getModelFromCloud(String actionName) {
List<UpdateActionModel> updateActions = UpdateActionManager.getUpdateActionManager().getUpdateActions(); List<UpdateActionModel> updateActions = UpdateActionManager.getUpdateActionManager().getUpdateActions();
for (UpdateActionModel updateActionModel : updateActions) { for (UpdateActionModel updateActionModel : updateActions) {
if (ComparatorUtils.equals(actionName, updateActionModel.getClassName()) && updateActionModel.getAction().isEnabled()) { if (ComparatorUtils.equals(actionName, updateActionModel.getClassName())) {
return new ActionModel(updateActionModel.getActionName(), updateActionModel.getParentName(), updateActionModel.getAction()); return new ActionModel(updateActionModel.getActionName(), updateActionModel.getParentName(), updateActionModel.getAction());
} }
} }

Loading…
Cancel
Save