ensure that the existing inspector is shown
This commit is contained in:
parent
7a877f97ad
commit
f11536e152
|
@ -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);});
|
||||
|
|
Loading…
Reference in New Issue