Removed unnecessary userList refreshing
This commit is contained in:
parent
95cead4dee
commit
780f52640b
@ -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