From cdf3b6d4526e4583faa59ff1ede76a64d4ec34d1 Mon Sep 17 00:00:00 2001 From: anhefti Date: Wed, 12 Aug 2020 16:44:43 +0200 Subject: [PATCH] fixed deletion of empty table rows on status change --- .../sebserver/gui/service/session/ClientConnectionTable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/service/session/ClientConnectionTable.java b/src/main/java/ch/ethz/seb/sebserver/gui/service/session/ClientConnectionTable.java index 90536b3c..2677f26a 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/service/session/ClientConnectionTable.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/service/session/ClientConnectionTable.java @@ -317,7 +317,7 @@ public final class ClientConnectionTable { } }); - if (this.statusFilterChanged && !this.toDelete.isEmpty()) { + if (!this.toDelete.isEmpty()) { this.toDelete.forEach(id -> { final UpdatableTableItem item = this.tableMapping.remove(id); final List list = this.sessionIds.get(item.connectionData.clientConnection.userSessionId);