Removed unnecessary userList refreshing

This commit is contained in:
DieGurke 2020-07-12 14:54:07 +02:00
parent 95cead4dee
commit 780f52640b

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);
});