diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/table/EntityTable.java b/src/main/java/ch/ethz/seb/sebserver/gui/table/EntityTable.java index 241604e1..74a5d295 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/table/EntityTable.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/table/EntityTable.java @@ -213,6 +213,11 @@ public class EntityTable { if (selection != null) { this.pageService.executePageAction( defaultAction.withEntityKey(selection)); + } else { + final TableItem[] item = this.table.getSelection(); + if (item != null && item.length > 0) { + this.pageService.executePageAction(defaultAction); + } } }); }