mirror of
https://github.com/qinyuhang/ShadowsocksX-NG-R.git
synced 2026-10-21 06:54:41 +00:00
Fix #218
This commit is contained in:
@@ -187,7 +187,7 @@ class PreferencesWindowController: NSWindowController
|
||||
}
|
||||
|
||||
func updateProfileBoxVisible() {
|
||||
if profileMgr.profiles.count <= 1 {
|
||||
if profileMgr.profiles.count <= 0 {
|
||||
removeButton.isEnabled = false
|
||||
}else{
|
||||
removeButton.isEnabled = true
|
||||
|
||||
Reference in New Issue
Block a user