diff --git a/app/view/settings/primaryconfigview.cpp b/app/view/settings/primaryconfigview.cpp index 067ee0211..224b259d2 100644 --- a/app/view/settings/primaryconfigview.cpp +++ b/app/view/settings/primaryconfigview.cpp @@ -299,6 +299,10 @@ void PrimaryConfigView::initView(Latte::View *view) void PrimaryConfigView::updateAvailableScreenGeometry(View *origin) { + if (!m_latteView) { + return; + } + int currentScrId = m_latteView->positioner()->currentScreenId(); QList ignoreModes{Latte::Types::SideBar};