FinalLody / droiddraw

Automatically exported from code.google.com/p/droiddraw
0 stars 0 forks source link

Does not save with Xml extention. #160

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Save a file
2. Try to open the file
3. The the filter in the open file dialog does not allow you to see the file 
because it is filtering only.xml files, while the file does not have an .xml 
extension.

What version of the product are you using? On what operating system?
r1b14

Original issue reported on code.google.com by tension...@gmail.com on 25 Aug 2010 at 6:31

GoogleCodeExporter commented 9 years ago
You can set the file filter in the "Open" dialog to "All Files", and after some 
delay (don't know why it delays), the file chooser will show all files and then 
you can load the file you need. 

In version r1b14, the ".xml" extension is not automatically appended when you 
enter a filename, which means you have to manually enter a filename with the 
extension appended: e.g. "mylayout.xml". 

I'll try to fix this and send a patch to the owner of this project.

Original comment by jefaram....@gmail.com on 26 Aug 2010 at 7:23

GoogleCodeExporter commented 9 years ago
Hi,

attached is a patch (a svn diff against trunk) to solve this issue.

- if the file filter is set on *.xml the extension is added to the file
- if the file filtes is set on *.* the file is saved like entered

cheers
Frank

Original comment by Dietrich.Frank@gmail.com on 26 Aug 2010 at 10:56

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the patch, this has been committed to SVN and will roll out with the 
next release.

Original comment by brendan....@gmail.com on 6 Sep 2010 at 4:30