diff --git a/build/data/obs-studio/locale/en.txt b/build/data/obs-studio/locale/en.txt index 742917391..b3ba53cd1 100644 --- a/build/data/obs-studio/locale/en.txt +++ b/build/data/obs-studio/locale/en.txt @@ -46,6 +46,10 @@ Basic.Main.AddSceneDlg.Text="Please enter the name of the scene" Basic.SourceSelect.CreateNew="Create new" Basic.SourceSelect.AddExisting="Add Existing" +# no scene warning +Basic.Main.AddSourceHelp.Title="Cannot Add Source" +Basic.Main.AddSourceHelp.Text="You need to have at least 1 scene to add a source." + # basic mode main window Basic.Main.Scenes="Scenes" Basic.Main.Sources="Sources" diff --git a/obs/window-basic-main.cpp b/obs/window-basic-main.cpp index 66052eab4..b14edce87 100644 --- a/obs/window-basic-main.cpp +++ b/obs/window-basic-main.cpp @@ -1045,8 +1045,14 @@ void OBSBasic::AddSourcePopupMenu(const QPoint &pos) bool foundValues = false; size_t idx = 0; - if (!GetCurrentScene()) + if (!GetCurrentScene()) { + // Tell the user he needs a scene first (help beginners). + QMessageBox::information(this, + QTStr("Basic.Main.AddSourceHelp.Title"), + QTStr("Basic.Main.AddSourceHelp.Text")); return; + } + QMenu popup; while (obs_enum_input_types(idx++, &type)) {