mirror of
https://github.com/yJason/ClashX-Dashboard.git
synced 2026-02-04 10:02:26 +08:00
misc: connections tableview editable
This commit is contained in:
@@ -245,6 +245,8 @@ struct ConnectionsTableView<Item: Hashable>: NSViewRepresentable {
|
|||||||
|
|
||||||
let conn = conns[row]
|
let conn = conns[row]
|
||||||
|
|
||||||
|
tf.isEditable = false
|
||||||
|
tf.isSelectable = true
|
||||||
tf.objectValue = {
|
tf.objectValue = {
|
||||||
switch tc {
|
switch tc {
|
||||||
case .host:
|
case .host:
|
||||||
|
|||||||
Reference in New Issue
Block a user