Removed unnecessary userList refreshing

This commit is contained in:
DieGurke 2020-07-12 14:54:07 +02:00
parent 7b6b3a28f3
commit 52766a37ce

View File

@ -140,7 +140,6 @@ public final class ChatScene implements Restorable {
userList.getItems().remove(chat);
userList.getItems().add(0, chat);
if (chat.equals(currentChat)) userList.getSelectionModel().select(0);
userList.refresh();
localDB.getChats().remove(chat);
localDB.getChats().add(0, chat);
});