From c1651beebd782f74d740d348fbef6a5e1d1e0d05 Mon Sep 17 00:00:00 2001 From: octopusYan <935540320@qq.com> Date: Sat, 23 Apr 2022 19:11:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=BA=86=E8=A1=8C=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E3=80=82=E3=80=82=E9=BE=9F=E9=BE=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/top/octopusyan/controller/MainController.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/top/octopusyan/controller/MainController.java b/src/main/java/top/octopusyan/controller/MainController.java index 2539b2c..66e8f84 100644 --- a/src/main/java/top/octopusyan/controller/MainController.java +++ b/src/main/java/top/octopusyan/controller/MainController.java @@ -759,6 +759,8 @@ public class MainController extends BaseController implements Initial if (setup.getId() != null) { ProxyManager.delete(setup.getId()); } + // 列表删除 + items.remove(itemView); }); // 是否选中 if (selectProxy() == index) itemView.getStyleClass().add(PROXY_LIST_ITEM_SELECT_CLASS);