Skip to content

Commit 9bce99b

Browse files
committed
fix: fix launchpad fullsream, click dock ,it will not close.
as title. Logs:
1 parent a8f4505 commit 9bce99b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

panels/dock/package/main.qml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Window {
2525
// TODO
2626
signal dockCenterPartPosChanged()
2727
signal pressedAndDragging(bool isDragging)
28+
signal viewDeactivated()
2829

2930
property int dockCenterPartCount: dockCenterPartModel.count
3031

@@ -354,6 +355,7 @@ Window {
354355
if (button === Qt.LeftButton) {
355356
// try to close popup when clicked empty, because dock does not have focus.
356357
Panel.requestClosePopup()
358+
viewDeactivated()
357359
}
358360
}
359361
}

0 commit comments

Comments
 (0)