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:
iobyte 2022-06-21 19:50:15 +00:00
parent df8efdc3e2
commit 57a1add172

View file

@ -306,10 +306,10 @@ public class TerrainProperties extends PropertyPanel
fc.setSelectedFile(null); fc.setSelectedFile(null);
fc.rescanCurrentDirectory(); fc.rescanCurrentDirectory();
fc.setApproveButtonMnemonic(0); fc.setApproveButtonMnemonic(0);
fc.setDialogTitle("Relief image file selection"); fc.setDialogTitle("Relief file selection");
fc.setVisible(true); fc.setVisible(true);
fc.setAcceptAllFileFilterUsed(false); fc.setAcceptAllFileFilterUsed(false);
FileNameExtensionFilter filter = new FileNameExtensionFilter("RGB and PNG images", "rgb", "png"); FileNameExtensionFilter filter = new FileNameExtensionFilter("AC", "ac");
fc.addChoosableFileFilter(filter); fc.addChoosableFileFilter(filter);
fc.setCurrentDirectory(new File(Editor.getProperties().getPath())); fc.setCurrentDirectory(new File(Editor.getProperties().getPath()));
int result = fc.showOpenDialog(this); int result = fc.showOpenDialog(this);