Removed unnecessary userList refreshing
This commit is contained in:
parent
7b6b3a28f3
commit
52766a37ce
@ -140,7 +140,6 @@ public final class ChatScene implements Restorable {
|
|||||||
userList.getItems().remove(chat);
|
userList.getItems().remove(chat);
|
||||||
userList.getItems().add(0, chat);
|
userList.getItems().add(0, chat);
|
||||||
if (chat.equals(currentChat)) userList.getSelectionModel().select(0);
|
if (chat.equals(currentChat)) userList.getSelectionModel().select(0);
|
||||||
userList.refresh();
|
|
||||||
localDB.getChats().remove(chat);
|
localDB.getChats().remove(chat);
|
||||||
localDB.getChats().add(0, chat);
|
localDB.getChats().add(0, chat);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user