only select all rows if table is multiselect

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
This commit is contained in:
Melanie Retter
2016-06-14 19:10:21 +02:00
parent 2b33f3646b
commit e35ef0f7db

View File

@@ -157,8 +157,10 @@ public abstract class AbstractTable<E extends NamedEntity, I> extends Table {
* Select all rows in the table.
*/
protected void selectAll() {
// only contains the ItemIds of the visible items in the table
setValue(getItemIds());
if (isMultiSelect()) {
// only contains the ItemIds of the visible items in the table
setValue(getItemIds());
}
}
private void setColumnProperties() {