feat: resolve profile domain

This commit is contained in:
arm64v8a
2022-09-22 22:26:39 +08:00
parent 3f0081b930
commit 0ca3e20824
11 changed files with 101 additions and 8 deletions

View File

@@ -173,7 +173,7 @@ void DialogEditProfile::typeSelected(const QString &newType) {
ui->port_l->setVisible(notChain);
// 右边 Outbound: settings
auto stream = GetStreamSettings(ent->bean);
auto stream = GetStreamSettings(ent->bean.data());
if (stream != nullptr) {
ui->right_all_w->setVisible(true);
ui->network->setCurrentText(stream->network);
@@ -249,7 +249,7 @@ void DialogEditProfile::accept() {
}
// 右边
auto stream = GetStreamSettings(ent->bean);
auto stream = GetStreamSettings(ent->bean.data());
if (stream != nullptr) {
stream->network = ui->network->currentText();
stream->security = ui->security->currentText();