This commit is contained in:
Charlie Qiu
2017-01-23 17:50:39 +08:00
parent ffccf62f8a
commit 9b5f2d8a23

View File

@ -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