diff --git a/obs/data/locale/en-US.ini b/obs/data/locale/en-US.ini index bbaea10ec..2ede7c004 100644 --- a/obs/data/locale/en-US.ini +++ b/obs/data/locale/en-US.ini @@ -224,6 +224,8 @@ Basic.Main.StartRecording="Start Recording" Basic.Main.StartStreaming="Start Streaming" Basic.Main.StopRecording="Stop Recording" Basic.Main.StopStreaming="Stop Streaming" +Basic.Main.StopStreaming.Title="Stop stream?" +Basic.Main.StopStreaming.Text="Are you sure you want to stop the stream?" # basic mode file menu Basic.MainMenu.File="&File" diff --git a/obs/window-basic-main.cpp b/obs/window-basic-main.cpp index 0a08454e9..474bdaacf 100644 --- a/obs/window-basic-main.cpp +++ b/obs/window-basic-main.cpp @@ -3058,6 +3058,12 @@ void OBSBasic::StartStreaming() void OBSBasic::StopStreaming() { + QMessageBox::StandardButton button = QMessageBox::question(this, + QTStr("Basic.Main.StopStreaming.Title"), + QTStr("Basic.Main.StopStreaming.Text")); + if (button == QMessageBox::No) + return; + SaveProject(); if (outputHandler->StreamingActive())