mirror of
https://github.com/KDE/latte-dock.git
synced 2025-02-05 17:47:23 +03:00
fix some hiding issues on userConfiguring state
This commit is contained in:
parent
c7345a5b62
commit
9878ee65d1
@ -72,6 +72,9 @@ DockView::DockView(Plasma::Corona *corona, QScreen *targetScreen)
|
||||
m_visibility = new VisibilityManager(this);
|
||||
}
|
||||
|
||||
//QAction *lockWidgetsAction = containment()->actions()->action("lock widgets");
|
||||
//containment()->actions()->removeAction(lockWidgetsAction);
|
||||
|
||||
}, Qt::DirectConnection);
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user