fix: fixing complex editor default outbound selection issue

This commit is contained in:
Qv2ray-dev 2020-03-19 16:22:33 +08:00
parent 0c0b49b90e
commit 489c227e6b
2 changed files with 8 additions and 8 deletions

View File

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

View File

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