mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-28 04:07:47 +00:00
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:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user