diff --git a/apps/opencs/view/world/datadisplaydelegate.cpp b/apps/opencs/view/world/datadisplaydelegate.cpp index adaea848a0..713fedb4ba 100644 --- a/apps/opencs/view/world/datadisplaydelegate.cpp +++ b/apps/opencs/view/world/datadisplaydelegate.cpp @@ -45,7 +45,8 @@ CSVWorld::DataDisplayDelegate::DataDisplayDelegate(const ValueList& values, cons , mUiScale(static_cast(QGuiApplication::instance())->devicePixelRatio()) , mSettingKey(pageName + '/' + settingName) { - parent->installEventFilter(this); + if (parent) + parent->installEventFilter(this); buildPixmaps();