UI: Don't create sources popup menu if no scenes
Closes jp9000/obs-studio#499
This commit is contained in:
parent
832043fc7f
commit
f32f65bb1f
@ -2687,7 +2687,8 @@ void OBSBasic::CreateSourcePopupMenu(QListWidgetItem *item, bool preview)
|
||||
|
||||
void OBSBasic::on_sources_customContextMenuRequested(const QPoint &pos)
|
||||
{
|
||||
CreateSourcePopupMenu(ui->sources->itemAt(pos), false);
|
||||
if (ui->scenes->count())
|
||||
CreateSourcePopupMenu(ui->sources->itemAt(pos), false);
|
||||
}
|
||||
|
||||
void OBSBasic::on_sources_itemDoubleClicked(QListWidgetItem *witem)
|
||||
|
Loading…
x
Reference in New Issue
Block a user