fix: trans form id show err when down.

This commit is contained in:
2025-06-29 17:31:17 +08:00
parent b637eb28c5
commit 936f1553d5

View File

@@ -120,8 +120,8 @@ void TransForm::handleUI(const TransTask& task)
ui->pedFrom->setPlainText(task.localPath); ui->pedFrom->setPlainText(task.localPath);
ui->pedTo->setPlainText(task.remotePath); ui->pedTo->setPlainText(task.remotePath);
} else { } else {
ui->edFrom->setText(task.localId); ui->edFrom->setText(task.remoteId);
ui->edTo->setText(task.remoteId); ui->edTo->setText(task.localId);
ui->pedFrom->setPlainText(task.remotePath); ui->pedFrom->setPlainText(task.remotePath);
ui->pedTo->setPlainText(task.localPath); ui->pedTo->setPlainText(task.localPath);
} }