mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-13 01:02:18 -04:00
processlist: fix default popout focus
This commit is contained in:
@@ -67,7 +67,7 @@ DankPopout {
|
|||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
if (processListPopout.shouldBeVisible)
|
if (processListPopout.shouldBeVisible)
|
||||||
forceActiveFocus();
|
searchField.forceActiveFocus();
|
||||||
processContextMenu.parent = processListContent;
|
processContextMenu.parent = processListContent;
|
||||||
processContextMenu.parentFocusItem = processListContent;
|
processContextMenu.parentFocusItem = processListContent;
|
||||||
}
|
}
|
||||||
@@ -107,7 +107,7 @@ DankPopout {
|
|||||||
target: processListPopout
|
target: processListPopout
|
||||||
function onShouldBeVisibleChanged() {
|
function onShouldBeVisibleChanged() {
|
||||||
if (processListPopout.shouldBeVisible) {
|
if (processListPopout.shouldBeVisible) {
|
||||||
Qt.callLater(() => processListContent.forceActiveFocus());
|
Qt.callLater(() => searchField.forceActiveFocus());
|
||||||
} else {
|
} else {
|
||||||
processesView.reset();
|
processesView.reset();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user