1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-30 14:50:12 +03:00

fix adding dock at the bottom when shouldnt

--if the user was adding docks too fast then
some of them were added at the bottom because
that was conflicting with the session
implementation. The fix fixes the situation
and preserves the alternative session functionality
This commit is contained in:
Michail Vourlakos 2017-03-23 13:54:50 +02:00
parent 2487495241
commit 5fe32aa7eb

View File

@ -976,7 +976,6 @@ void DockCorona::loadDefaultLayout()
emit containmentAdded(defaultContainment);
emit containmentCreated(defaultContainment);
m_waitingSessionDocksCreation = true;
addDock(defaultContainment);
defaultContainment->createApplet(QStringLiteral("org.kde.latte.plasmoid"));
defaultContainment->createApplet(QStringLiteral("org.kde.plasma.analogclock"));