mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-23 19:54:02 -04:00
processlist: fix default popout focus
This commit is contained in:
1 parent
3d0ee9d72b
commit
f8af8fc171
1 file changed
+2
-2
@@ -67,7 +67,7 @@ DankPopout {
|
||||
|
||||
Component.onCompleted: {
|
||||
if (processListPopout.shouldBeVisible)
|
||||
forceActiveFocus();
|
||||
searchField.forceActiveFocus();
|
||||
processContextMenu.parent = processListContent;
|
||||
processContextMenu.parentFocusItem = processListContent;
|
||||
}
|
||||
@@ -107,7 +107,7 @@ DankPopout {
|
||||
target: processListPopout
|
||||
function onShouldBeVisibleChanged() {
|
||||
if (processListPopout.shouldBeVisible) {
|
||||
Qt.callLater(() => processListContent.forceActiveFocus());
|
||||
Qt.callLater(() => searchField.forceActiveFocus());
|
||||
} else {
|
||||
processesView.reset();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user