UI: Add ShutDownActiveOutputsOnExit setting
Adds a new setting to the general OBS settings, which can be checked in order to no longer show the "confirm close" dialog when there are still streams/recordings running.
This commit is contained in:
parent
9ef76e1f9b
commit
1b280e0ac4
5 changed files with 24 additions and 3 deletions
|
|
@ -4531,7 +4531,10 @@ void OBSBasic::closeEvent(QCloseEvent *event)
|
|||
"geometry",
|
||||
saveGeometry().toBase64().constData());
|
||||
|
||||
if (outputHandler && outputHandler->Active()) {
|
||||
bool confirmOnExit =
|
||||
config_get_bool(GetGlobalConfig(), "General", "ConfirmOnExit");
|
||||
|
||||
if (confirmOnExit && outputHandler && outputHandler->Active()) {
|
||||
SetShowing(true);
|
||||
|
||||
QMessageBox::StandardButton button = OBSMessageBox::question(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue