UI: Fix UseStreamKeyAdv not display stream key and not hide button
(cherry picked from commit 5f512d5f25)
This commit is contained in:
parent
16e3faf0d0
commit
fa2719b0b1
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);
|
||||
|
|
|
|||
|
|
@ -480,6 +480,8 @@ static void get_yt_ch_title(Ui::OBSBasicSettings *ui)
|
|||
void OBSBasicSettings::UseStreamKeyAdvClicked()
|
||||
{
|
||||
ui->streamKeyWidget->setVisible(true);
|
||||
ui->streamKeyLabel->setVisible(true);
|
||||
ui->useStreamKeyAdv->setVisible(false);
|
||||
}
|
||||
|
||||
void OBSBasicSettings::on_service_currentIndexChanged(int idx)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue