|
@@ -139,6 +139,17 @@ extension KMLeftSideViewController {
|
|
|
self.groupedFindTableView.tableColumn(withIdentifier: kPageColumnId)?.headerCell.title = KMLocalizedString("Page", "Table header title")
|
|
|
(self.groupedFindTableView.tableColumn(withIdentifier: _kRelevanceColumnId)?.dataCell as? NSCell)?.isEnabled = false
|
|
|
}
|
|
|
+
|
|
|
+ public func refreshUIOfSeachListIfNeed() {
|
|
|
+ if self.type.methodType != .Search {
|
|
|
+ return
|
|
|
+ }
|
|
|
+ Task { @MainActor in
|
|
|
+ if self.searchField.stringValue.isEmpty == false {
|
|
|
+ self.search(self.searchField)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
// MARK: - Menu
|