mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-25 23:02:35 +03:00
Fix compilation (due to RxSwift 4 update)
This commit is contained in:
parent
0f8698e254
commit
49e42a946c
@ -11,6 +11,7 @@ import PureLayout
|
||||
class OpenQuicklyWindow: NSObject,
|
||||
UiComponent,
|
||||
NSWindowDelegate,
|
||||
NSTextFieldDelegate,
|
||||
NSTableViewDelegate, NSTableViewDataSource {
|
||||
|
||||
typealias StateType = AppState
|
||||
@ -231,7 +232,9 @@ extension OpenQuicklyWindow {
|
||||
|
||||
@objc(tableView: viewForTableColumn:row:)
|
||||
func tableView(_ tableView: NSTableView, viewFor _: NSTableColumn?, row: Int) -> NSView? {
|
||||
let cachedCell = (tableView.makeView(withIdentifier: NSUserInterfaceItemIdentifier("file-view-row"), owner: self) as? ImageAndTextTableCell)?.reset()
|
||||
let cachedCell = (tableView.makeView(
|
||||
withIdentifier: NSUserInterfaceItemIdentifier("file-view-row"), owner: self) as? ImageAndTextTableCell
|
||||
)?.reset()
|
||||
let cell = cachedCell ?? ImageAndTextTableCell(withIdentifier: "file-view-row")
|
||||
|
||||
let url = self.fileViewItems[row].url
|
||||
|
Loading…
Reference in New Issue
Block a user