UI: Fix UseStreamKeyAdv not display stream key and not hide button
This commit is contained in:
parent
aa1f2dea84
commit
5f512d5f25
2 changed files with 7 additions and 2 deletions
|
|
@ -302,8 +302,11 @@ AutoConfigStreamPage::AutoConfigStreamPage(QWidget *parent)
|
|||
connect(ui->service, &QComboBox::currentIndexChanged, this,
|
||||
&AutoConfigStreamPage::UpdateMoreInfoLink);
|
||||
|
||||
connect(ui->useStreamKeyAdv, &QPushButton::clicked,
|
||||
[&]() { ui->streamKeyWidget->setVisible(true); });
|
||||
connect(ui->useStreamKeyAdv, &QPushButton::clicked, [&]() {
|
||||
ui->streamKeyWidget->setVisible(true);
|
||||
ui->streamKeyLabel->setVisible(true);
|
||||
ui->useStreamKeyAdv->setVisible(false);
|
||||
});
|
||||
|
||||
connect(ui->key, &QLineEdit::textChanged, this,
|
||||
&AutoConfigStreamPage::UpdateCompleted);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue