删除了行代码。。龟龟

This commit is contained in:
octopusYan 2022-04-23 19:11:30 +08:00
parent d5079f909d
commit c1651beebd

View File

@ -759,6 +759,8 @@ public class MainController extends BaseController<StackPane> implements Initial
if (setup.getId() != null) { if (setup.getId() != null) {
ProxyManager.delete(setup.getId()); ProxyManager.delete(setup.getId());
} }
// 列表删除
items.remove(itemView);
}); });
// 是否选中 // 是否选中
if (selectProxy() == index) itemView.getStyleClass().add(PROXY_LIST_ITEM_SELECT_CLASS); if (selectProxy() == index) itemView.getStyleClass().add(PROXY_LIST_ITEM_SELECT_CLASS);