Fix Bug 328262 - rename bug if you cancel when folder already exists

Review Request #114228 - Created Nov. 30, 2013 and submitted

Information
Emmanuel Pescosta
kde-baseapps
KDE/4.11
328262
Reviewers
dolphin
dfaure
Use the old instead of the new item url to update the item text in the model.

Only the item text is temporarily renamed, the url is still the old one
until the item was successfully renamed by KIO. So we must use the old url
to access the right item.
1. Creat Folder 1 "Bar" 
2. Create Folder 2 "Foo" 
3. Rename Folder 2 into "Foo" and press Enter 
4. Cancel the question 
5. Folder 1 is still "Bar" and folder 2 is still "Foo"

Works for me.
Frank Reininghaus
Frank Reininghaus
Emmanuel Pescosta
Frank Reininghaus
Commit Hook
Emmanuel Pescosta
Review request changed

Status: Closed (submitted)

Loading...