mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-23 06:24:44 -04:00
Merge pull request #1353 from cg2121/fix-checkable-buttons
UI: Fix stream button checkable state
This commit is contained in:
1 file changed
+6
-2
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user