删除服务器配置后滚动问题

This commit is contained in:
秦宇航
2017-04-15 22:40:25 +08:00
parent 3df85772b0
commit f6a46311c3

View File

@ -142,6 +142,8 @@ class PreferencesWindowController: NSWindowController
}
profilesTableView.endUpdates()
}
self.profilesTableView.scrollRowToVisible(index-1)
self.profilesTableView.selectRowIndexes(IndexSet(integer: index-1), byExtendingSelection: false)
updateProfileBoxVisible()
}