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

fix some hiding issues on userConfiguring state

This commit is contained in:
Michail Vourlakos 2017-01-03 10:36:00 +02:00
parent c7345a5b62
commit 9878ee65d1
2 changed files with 10 additions and 0 deletions

View File

@ -71,6 +71,9 @@ DockView::DockView(Plasma::Corona *corona, QScreen *targetScreen)
if (!m_visibility) {
m_visibility = new VisibilityManager(this);
}
//QAction *lockWidgetsAction = containment()->actions()->action("lock widgets");
//containment()->actions()->removeAction(lockWidgetsAction);
}, Qt::DirectConnection);
}

View File

@ -551,6 +551,9 @@ DragDrop.DropArea {
}
if (plasmoid.userConfiguring) {
if (dock.visibility.isHidden) {
dock.visibility.mustBeShown();
}
dock.visibility.blockHiding = true;
// console.log("applets------");
@ -573,6 +576,10 @@ DragDrop.DropArea {
} else {
dock.visibility.blockHiding = false;
if (dock.visibility.isHidden) {
dock.visibility.mustBeShown();
}
if (dragOverlay) {
dragOverlay.visible = false;
dragOverlay.destroy();