mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
Merge pull request #1385 from admshao/fix-startup-crash
UI: Fix start up crash with saved projectors
This commit is contained in:
@@ -5692,7 +5692,7 @@ void OBSBasic::OpenSavedProjectors()
|
||||
}
|
||||
}
|
||||
|
||||
if (!info->geometry.empty()) {
|
||||
if (projector && !info->geometry.empty()) {
|
||||
QByteArray byteArray = QByteArray::fromBase64(
|
||||
QByteArray(info->geometry.c_str()));
|
||||
projector->restoreGeometry(byteArray);
|
||||
|
||||
Reference in New Issue
Block a user