Skip to content

Commit

Permalink
qmlui: fix crash when adding a RGB panel on unavailable address (fix m…
Browse files Browse the repository at this point in the history
  • Loading branch information
mcallegari committed Apr 21, 2024
1 parent de4fc77 commit 8e695ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qmlui/fixturemanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1054,6 +1054,9 @@ void FixtureManager::slotFixtureAdded(quint32 id, QVector3D pos)
else
{
Fixture *fixture = m_doc->fixture(id);
if (fixture == nullptr)
return;

QStringList uniNames = m_doc->inputOutputMap()->universeNames();
QString universeName = uniNames.at(fixture->universe());
int matchMask = 0;
Expand Down

0 comments on commit 8e695ef

Please sign in to comment.