Marino Faggiana 7 年之前
父節點
當前提交
e181970621
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      iOSClient/Settings/CCManageAccount.m

+ 1 - 1
iOSClient/Settings/CCManageAccount.m

@@ -176,7 +176,7 @@
 {
     [super formRowDescriptorValueHasChanged:rowDescriptor oldValue:oldValue newValue:newValue];
     
-    if ([rowDescriptor.tag isEqualToString:@"pickerAccount"]){
+    if ([rowDescriptor.tag isEqualToString:@"pickerAccount"] && oldValue && newValue){
         
         // cambiamo default account se oldvalue != newValue
         if (![newValue isEqualToString:oldValue]) [self ChangeDefaultAccount:newValue];