IDEMPIERE-4665 : Toolbar: Select Query cannot be hidden (#546)

This commit is contained in:
Nicolas Micoud 2021-01-22 11:05:27 +01:00 committed by GitHub
parent 6c9e957e81
commit 9413a8a2f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -91,7 +91,7 @@ public class ADWindowToolbar extends FToolbar implements EventListener<Event>
/**
*
*/
private static final long serialVersionUID = -8494819673584541046L;
private static final long serialVersionUID = -5151981978053022864L;
public static final String BTNPREFIX = "Btn";
@ -870,6 +870,12 @@ public class ADWindowToolbar extends FToolbar implements EventListener<Event>
}
}
}
else if (p instanceof Combobox) {
if (restrictName.equals(((Combobox) p).getId())) {
this.removeChild(p);
break;
}
}
}
} // All restrictions