UI: Move projector rename signal
This moves the renaming of projectors from OBSBasic to OBSProjector.
This commit is contained in:
parent
023d9bd851
commit
cd918a7f4c
3 changed files with 20 additions and 9 deletions
|
|
@ -3344,11 +3344,6 @@ void OBSBasic::RenameSources(OBSSource source, QString newName,
|
|||
volumes[i]->SetName(newName);
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < projectors.size(); i++) {
|
||||
if (projectors[i]->GetSource() == source)
|
||||
projectors[i]->RenameProjector(prevName, newName);
|
||||
}
|
||||
|
||||
if (vcamConfig.type == VCamOutputType::SourceOutput &&
|
||||
prevName == QString::fromStdString(vcamConfig.source))
|
||||
vcamConfig.source = newName.toStdString();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue