View Single Post
Old 09-22-2022, 12:54 PM   #8
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,217
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by kovidgoyal View Post
https://github.com/kovidgoyal/calibr...110002b815b638

as for not entering unique names, I am not too fussed about that, if it bothers you, feel free to send a patch, although I dont really see what can be done other than discarding duplicates, which I have implemented.
Thanks!

I think discarding the change is good enough. I noticed one last error: if you create a set of duplicate names at the same editing session (before pressing enter), then the duplicate is discarded. But, if the new name matches a name that already existed (before the editing session), then it will give you an error, and all the changes are discarded. Also the file tree is not updated until you save or make a new edition.
thiago.eec is offline   Reply With Quote