未验证 提交 75d460b2 编写于 作者: J Jim 提交者: GitHub

Merge pull request #1353 from cg2121/fix-checkable-buttons

UI: Fix stream button checkable state
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册