Little Bug Fix

This commit is contained in:
DieGurke 2020-07-11 14:46:13 +02:00
parent 5caa5381b0
commit 9111880dcf

View File

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