mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 13:50:12 +08:00
fix edit route
This commit is contained in:
parent
0284dc974e
commit
26efd64821
@ -288,6 +288,7 @@ void DialogManageRoutes::on_edit_route_clicked() {
|
||||
routeChainWidget->show();
|
||||
connect(routeChainWidget, &RouteItem::settingsChanged, this, [=](const std::shared_ptr<NekoGui::RoutingChain>& chain) {
|
||||
if (chain->isViewOnly()) return;
|
||||
if (currentRoute == chainList[idx]) currentRoute = chain;
|
||||
chainList[idx] = chain;
|
||||
reloadProfileItems();
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user