IDEMPIERE-4647 Plugin Manager improvement (#528)
Fix index out of bounds error - when selecting a plugin and then filtering for a number of items lower than the selected index
This commit is contained in:
parent
e3c78d7501
commit
efc3d98313
|
@ -302,8 +302,10 @@ public class WPluginManager extends ADForm implements EventListener<Event> {
|
|||
processPlugin();
|
||||
else if (Events.ON_CLICK.equals(event.getName()) && event.getTarget() == btnRefresh)
|
||||
refreshAll();
|
||||
else if (Events.ON_CHANGE.equals(event.getName()) && event.getTarget() == fFilter)
|
||||
else if (Events.ON_CHANGE.equals(event.getName()) && event.getTarget() == fFilter) {
|
||||
pluginsTable.setSelectedIndex(-1);
|
||||
refreshAll();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue