1
0
Fork 0

ensure that the existing inspector is shown

This commit is contained in:
Kevin Matz 2022-12-03 11:09:44 -05:00
parent 7a877f97ad
commit f11536e152
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ void MultiverseView::createEditor(const QModelIndex &index)
auto univ = data.value<QSacnUniverse*>();
foreach (const auto & inspector, mInspectors)
if (inspector->universe() == univ)
return;
return inspector->show();
auto view = new UniverseView(this, univ);
mInspectors.insert(view);
connect(view, &QObject::destroyed, this, [this, view](){mInspectors.remove(view);});