update ui

This commit is contained in:
arm64v8a
2023-06-05 14:34:15 +09:00
parent 1e9fa7eab4
commit 292a36eefb
18 changed files with 237 additions and 162 deletions

View File

@@ -333,16 +333,16 @@ void DialogEditProfile::typeSelected(const QString &newType) {
}
bool DialogEditProfile::onEnd() {
// 左边
ent->bean->name = ui->name->text();
ent->bean->serverAddress = ui->address->text();
ent->bean->serverPort = ui->port->text().toInt();
// bean
if (!innerEditor->onEnd()) {
return false;
}
// 左边
ent->bean->name = ui->name->text();
ent->bean->serverAddress = ui->address->text();
ent->bean->serverPort = ui->port->text().toInt();
// 右边 stream
auto stream = GetStreamSettings(ent->bean.get());
if (stream != nullptr) {