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