Change same name logs to toast

This commit is contained in:
Wolfsblvt
2025-04-09 01:21:20 +02:00
parent 47652d7fe9
commit ceceb8f3f0
3 changed files with 7 additions and 3 deletions

View File

@@ -896,7 +896,7 @@ export async function initPresetManager() {
return;
}
if (equalsIgnoreCaseAndAccents(oldName, newName)) {
console.warn('Preset name is the same (ignoring case and accents)');
toastr.warning('Name not accepted, as it is the same as before (ignoring case and accents).', 'Rename Preset');
return;
}