Release list: close after a successful grab

Back to where the search started (library, drill-down or search), unless
something was opened on top of the list meanwhile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-23 23:54:15 +02:00
co-authored by Claude Opus 5.5
parent 5b8100eb54
commit 7261667d72
3 changed files with 12 additions and 1 deletions
+1
View File
@@ -269,6 +269,7 @@ func (v *releasesView) doGrab(r arr.Release) {
return
}
v.app.SetMessage("[green]Sent to the download client: " + tview.Escape(truncate(r.Title, 60)))
v.app.closeIfTop(v.root) // done here: back to where the search started
})
}()
}