1
0
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:
Michail Vourlakos 2021-05-08 19:21:24 +03:00
parent 4571c255ed
commit c74b60c7da

View File

@ -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