From 780f52640b8b33f156682683e99d0345facb7be3 Mon Sep 17 00:00:00 2001 From: DieGurke <55625494+DieGurke@users.noreply.github.com> Date: Sun, 12 Jul 2020 14:54:07 +0200 Subject: [PATCH] Removed unnecessary userList refreshing --- src/main/java/envoy/client/ui/controller/ChatScene.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/envoy/client/ui/controller/ChatScene.java b/src/main/java/envoy/client/ui/controller/ChatScene.java index 851833e..703ec5d 100644 --- a/src/main/java/envoy/client/ui/controller/ChatScene.java +++ b/src/main/java/envoy/client/ui/controller/ChatScene.java @@ -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); });