mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-26 02:04:12 +03:00
subcontainments considered Expandable
This commit is contained in:
parent
4571c255ed
commit
c74b60c7da
@ -457,8 +457,9 @@ bool ContainmentInterface::appletIsExpandable(PlasmaQuick::AppletQuickItem *appl
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (appletQuickItem->fullRepresentation() != nullptr
|
return ((appletQuickItem->fullRepresentation() != nullptr
|
||||||
&& appletQuickItem->preferredRepresentation() != appletQuickItem->fullRepresentation());
|
&& appletQuickItem->preferredRepresentation() != appletQuickItem->fullRepresentation())
|
||||||
|
|| Latte::Layouts::Storage::self()->isSubContainment(m_view->layout(), appletQuickItem->applet()));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ContainmentInterface::hasExpandedApplet() const
|
bool ContainmentInterface::hasExpandedApplet() const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user