mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-27 15:02:50 -05:00
fix clipboard auto-focus on open
This commit is contained in:
@@ -388,12 +388,12 @@ DankModal {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
function onOpened() {
|
function onVisibleChanged() {
|
||||||
searchField.forceActiveFocus()
|
if (clipboardHistoryModal.visible) {
|
||||||
}
|
Qt.callLater(function () {
|
||||||
|
searchField.forceActiveFocus()
|
||||||
function onDialogClosed() {
|
})
|
||||||
searchField.clearFocus()
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
target: clipboardHistoryModal
|
target: clipboardHistoryModal
|
||||||
|
|||||||
Reference in New Issue
Block a user