Home Download Buy Blog Forum Support

Rename empty file does not change tab

Rename empty file does not change tab

Postby phillip.koebbe on Fri May 11, 2012 1:59 pm

Build 2197.

I often create empty files that I know I'm going to need. Ocassionally, for somewhat convoluted but valid reasons, I have to rename them before I get contents in them. I just noticed that when renaming an empty file, the filename gets changed but the tab does not. If I switch away and back to the tab in question, it changes to that of an unsaved file and if I then close it, I get the standard "Do you want to save this before closing?" dialog. I could be wrong about this, but it seems to me that renaming shouldn't care whether the file has contents or not.
-- 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 14 guests