diff --git a/src/ui/editors/w_RoutesEditor.cpp b/src/ui/editors/w_RoutesEditor.cpp index 5a7ec630..082be10f 100644 --- a/src/ui/editors/w_RoutesEditor.cpp +++ b/src/ui/editors/w_RoutesEditor.cpp @@ -936,12 +936,6 @@ void RouteEditor::on_domainStrategyCombo_currentIndexChanged(const QString &arg1 domainStrategy = arg1; } -void RouteEditor::on_defaultOutboundCombo_currentIndexChanged(const QString &arg1) -{ - LOADINGCHECK - defaultOutbound = arg1; -} - void RouteEditor::on_ruleRenameBtn_clicked() { auto newTag = ruleTagLineEdit->text(); @@ -966,3 +960,9 @@ void RouteEditor::on_ruleRenameBtn_clicked() RenameItemTag(RENAME_RULE, CurrentRule.QV2RAY_RULE_TAG, &newTag); } } + +void RouteEditor::on_defaultOutboundCombo_currentTextChanged(const QString &arg1) +{ + LOADINGCHECK + defaultOutbound = arg1; +} diff --git a/src/ui/editors/w_RoutesEditor.hpp b/src/ui/editors/w_RoutesEditor.hpp index 620e9655..0f212631 100644 --- a/src/ui/editors/w_RoutesEditor.hpp +++ b/src/ui/editors/w_RoutesEditor.hpp @@ -93,10 +93,10 @@ class RouteEditor void on_domainStrategyCombo_currentIndexChanged(const QString &arg1); - void on_defaultOutboundCombo_currentIndexChanged(const QString &arg1); - void on_ruleRenameBtn_clicked(); + void on_defaultOutboundCombo_currentTextChanged(const QString &arg1); + public slots: void onNodeClicked(QtNodes::Node &n); void onConnectionCreated(QtNodes::Connection const &c);