Home Download Buy Blog Forum Support

[Bug] Comments in User Preferences stripped on re-save.

[Bug] Comments in User Preferences stripped on re-save.

Postby frou on Wed Mar 28, 2012 2:11 pm

I've noticed that some operations in ST2 re-save the users' preferences file, which is fine and expected.

However this strips and effectively permanently deletes any comments that were in the file.

jps - Can you please preserve comments (at least above top-level keys that remain) when re-saving user preferences?

Thank you
frou
 
Posts: 49
Joined: Sun Jul 31, 2011 11:26 am

Re: [Bug] Comments in User Preferences stripped on re-save.

Postby phillip.koebbe on Wed Mar 28, 2012 3:01 pm

I noticed this in the last week or two, but forgot about it and so haven't done any digging at all. Fortunately, I don't have a lot of comments in there, though I'd certainly like to retain the ones I have.
-- Phillip

Code: Select all
while self.living? do
    mistake = Mistake.new
    self.learn_from!(mistake) unless mistake.fatal?
end
phillip.koebbe
 
Posts: 208
Joined: Tue Dec 20, 2011 4:58 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 11 guests