Allow for duplicate task names again

Only warn if a task name is duplicate but allow it to be saved without clearing the value-names of that task.
This commit is contained in:
clumsy-stefan
2018-11-28 14:22:57 +01:00
committed by GitHub
parent 12852c39d6
commit 385bb23484
+2 -2
View File
@@ -565,13 +565,13 @@ String checkTaskSettings(byte taskIndex) {
if (strcasecmp(ExtraTaskSettings.TaskDeviceName, deviceName.c_str()) == 0) {
err = F("Task Device Name is not unique, conflicts with task ID #");
err += (i+1);
return err;
// return err;
}
}
}
}
err = LoadTaskSettings(taskIndex);
err += LoadTaskSettings(taskIndex);
return err;
}