XenoDream Forums
No warning when saving under an existing file name - Printable Version

+- XenoDream Forums (https://xenodream.com/forum)
+-- Forum: XenoDream, Jux and Plugins (https://xenodream.com/forum/forumdisplay.php?fid=5)
+--- Forum: Help and Support (https://xenodream.com/forum/forumdisplay.php?fid=7)
+--- Thread: No warning when saving under an existing file name (/showthread.php?tid=1553)



No warning when saving under an existing file name - madfractalist - 10-15-2019

Aloha,

I accidentally overwrite an existing jux file with the same filename, unfortunately Jux has not issued a warning ("do you really want to save under this filename?").

Would it be possible to install such warnings?

Regards,

Krisi


RE: No warning when saving under an existing file name - Garth Thornton - 10-19-2019

Hi Krisi,

I've been traveling and wasn't able to check this until now. Jux (and XenoDream) rely on the built in dialog checking for existing filenames, but that only works if the extension is included. It has the advantage of keeping the dialog open if you need to choose a new name. What I need to do is, instead of just changing the extension, check if it is different and if so, check if the file exists after changing it.