Skip to content

Commit e563d12

Browse files
wjyrichdeepin-bot[bot]
authored andcommitted
fix: fix launchpad fullsream, click dock ,it will not close.
as title. Logs:
1 parent 7b87246 commit e563d12

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

@@ -357,6 +358,7 @@ Window {
357358
if (button === Qt.LeftButton) {
358359
// try to close popup when clicked empty, because dock does not have focus.
359360
Panel.requestClosePopup()
361+
viewDeactivated()
360362
}
361363
}
362364
}

0 commit comments

Comments
 (0)