trackeditor: terrain relief files are ac files
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8239 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 5b8e5c83afcbc0c6e6697a29a6d8251aaf80eabc Former-commit-id: 4742f7e11a9d8417420b354c8ff9e8c1b1862bac
This commit is contained in:
parent
df8efdc3e2
commit
57a1add172
1 changed files with 2 additions and 2 deletions
|
@ -306,10 +306,10 @@ public class TerrainProperties extends PropertyPanel
|
|||
fc.setSelectedFile(null);
|
||||
fc.rescanCurrentDirectory();
|
||||
fc.setApproveButtonMnemonic(0);
|
||||
fc.setDialogTitle("Relief image file selection");
|
||||
fc.setDialogTitle("Relief file selection");
|
||||
fc.setVisible(true);
|
||||
fc.setAcceptAllFileFilterUsed(false);
|
||||
FileNameExtensionFilter filter = new FileNameExtensionFilter("RGB and PNG images", "rgb", "png");
|
||||
FileNameExtensionFilter filter = new FileNameExtensionFilter("AC", "ac");
|
||||
fc.addChoosableFileFilter(filter);
|
||||
fc.setCurrentDirectory(new File(Editor.getProperties().getPath()));
|
||||
int result = fc.showOpenDialog(this);
|
||||
|
|
Loading…
Reference in a new issue