Read only mode?

 From:  Michael Gibson
2169.10 In reply to 2169.9 
Hi Nick, I've got this set up for the next beta now.

You'll be able to enable it with this setting in moi.ini :
[FileDialog]
EnableReadOnlyCheckbox=y

When that is set to y then a "Read only" checkbox will appear on the regular File open dialog:



If you check that box when opening a file, you will then get the behavior described previously, where hitting "Save" will pop up the "Save As" dialog instead of doing the regular immediate Save, and also the Save As dialog will have a blank name instead of starting out with the current file name like it normally does.

The only other issue is that if you later on open the file from the "recent file" list instead of by "Open", it will not remember that it was opened as read only and instead use standard Open behavior.... But I think I will take a look at fixing this up as well to remember that flag since I kind of need to do that anyway for a related concept of opening a "Template file", and it seems like a good time to add some of the infrastructure for that now.

- Michael
Attachments: