fixed session table color update

This commit is contained in:
anhefti 2019-12-09 12:16:51 +01:00
parent 1da72a0f31
commit a82838dfd6

View file

@ -319,9 +319,14 @@ public final class ClientConnectionTable {
ClientConnectionTable.this.sessionIds.get(this.connectionData.clientConnection.userSessionId);
if (list != null && list.size() > 1) {
tableItem.setBackground(0, ClientConnectionTable.this.statusData.color3);
tableItem.setForeground(0, ClientConnectionTable.this.lightFontColor);
} else {
tableItem.setBackground(0, null);
tableItem.setForeground(0, ClientConnectionTable.this.darkFontColor);
}
} else {
tableItem.setBackground(0, null);
tableItem.setForeground(0, ClientConnectionTable.this.darkFontColor);
}
}