Restore focus to the timeline after searching so that keyboard shortcuts work. Issue #1387

This commit is contained in:
Maurice Parker 2019-12-08 18:31:55 -07:00
parent 5dcab57256
commit 8ca6ffc379
1 changed files with 1 additions and 0 deletions

View File

@ -776,6 +776,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
savedSearchArticles = nil savedSearchArticles = nil
isSearching = false isSearching = false
selectArticle(nil) selectArticle(nil)
masterTimelineViewController?.focus()
} }
func searchArticles(_ searchString: String, _ searchScope: SearchScope) { func searchArticles(_ searchString: String, _ searchScope: SearchScope) {