Add a missing null pointer check

pull/3236/head
Andrei Kortunov 6 months ago
parent daada262d7
commit 5390634e22

@ -45,7 +45,8 @@ CSVWorld::DataDisplayDelegate::DataDisplayDelegate(const ValueList& values, cons
, mUiScale(static_cast<QGuiApplication*>(QGuiApplication::instance())->devicePixelRatio())
, mSettingKey(pageName + '/' + settingName)
{
parent->installEventFilter(this);
if (parent)
parent->installEventFilter(this);
buildPixmaps();

Loading…
Cancel
Save