1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-05 05:47:26 +03:00

fix crash

This commit is contained in:
Michail Vourlakos 2020-07-04 14:50:32 +03:00
parent 038b649804
commit ca87504535

View File

@ -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<Latte::Types::Visibility> ignoreModes{Latte::Types::SideBar};