fix edit route

This commit is contained in:
Nova 2025-02-01 16:18:12 +03:30
parent 0284dc974e
commit 26efd64821

View File

@ -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();
});