Merge pull request #1353 from cg2121/fix-checkable-buttons
UI: Fix stream button checkable state
This commit is contained in:
commit
75d460b2e8
1 changed files with 6 additions and 2 deletions
|
|
@ -4954,8 +4954,10 @@ void OBSBasic::on_streamButton_clicked()
|
|||
QTStr("ConfirmStop.Title"),
|
||||
QTStr("ConfirmStop.Text"));
|
||||
|
||||
if (button == QMessageBox::No)
|
||||
if (button == QMessageBox::No) {
|
||||
ui->streamButton->setChecked(true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
StopStreaming();
|
||||
|
|
@ -4969,8 +4971,10 @@ void OBSBasic::on_streamButton_clicked()
|
|||
QTStr("ConfirmStart.Title"),
|
||||
QTStr("ConfirmStart.Text"));
|
||||
|
||||
if (button == QMessageBox::No)
|
||||
if (button == QMessageBox::No) {
|
||||
ui->streamButton->setChecked(false);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
StartStreaming();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue