Fix session settings not populating: use baseName not displayName

killTargetSessionName was set to item.name (displayName, e.g. 'ollie (1)')
instead of item.baseName (the actual 9P path component 'ollie').
This caused readSessionConfig() to read from a non-existent path.
Also fixes the Goal dialog which had the same latent bug.
This commit is contained in:
Levi Neely 2026-08-19 18:15:20 +02:00
parent a7b8c4c2ce
commit 5a8f7e394e
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ Item {
var item = sessionModel.get(parent.modelIndex)
if (item) {
tree.killTargetSessionId = item.id
tree.killTargetSessionName = item.name
tree.killTargetSessionName = item.baseName
}
sessionCtxMenu.popup()
} else if (type === "agent") {