Little Bug Fix
This commit is contained in:
parent
ba4fdbe2f4
commit
0cebaeacb5
|
@ -139,6 +139,7 @@ public final class ChatScene implements Restorable {
|
|||
Platform.runLater(() -> {
|
||||
userList.getItems().remove(chat);
|
||||
userList.getItems().add(0, chat);
|
||||
if (chat.equals(currentChat)) userList.getSelectionModel().select(0);
|
||||
localDB.getChats().remove(chat);
|
||||
localDB.getChats().add(0, chat);
|
||||
});
|
||||
|
|
Reference in New Issue