mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-25 05:52:50 -05:00
launcher v2: fix nvidia dgpu race condition
This commit is contained in:
@@ -42,8 +42,6 @@ DankPopout {
|
||||
if (!shouldBeVisible) {
|
||||
searchText = "";
|
||||
expandedPid = "";
|
||||
if (processesView)
|
||||
processesView.reset();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -108,8 +106,11 @@ DankPopout {
|
||||
Connections {
|
||||
target: processListPopout
|
||||
function onShouldBeVisibleChanged() {
|
||||
if (processListPopout.shouldBeVisible)
|
||||
if (processListPopout.shouldBeVisible) {
|
||||
Qt.callLater(() => processListContent.forceActiveFocus());
|
||||
} else {
|
||||
processesView.reset();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user