1
0
Fork 0

don't remove last universe if holding the look

This commit is contained in:
Kevin Matz 2022-11-21 14:25:12 -05:00
parent a5958448ff
commit 6ad6aa28f8
1 changed files with 4 additions and 0 deletions

View File

@ -120,6 +120,10 @@ void ArbitratingUniverse::deleteSourceUniverse(const DATA::data_header& src)
{
if (!hasSourceUniverse(src))
return;
if (sources_.size() == 1 && HoldLastLook)
return;
sources_.erase(src);
doListChangeCallbacks();
}