others tag icon, save as exe moved to export (+new icon), save as exe: gfx option removed from save dialog

This commit is contained in:
Honfika
2014-02-01 21:09:49 +01:00
parent 39c005a18d
commit 2037a0b6f9
7 changed files with 17 additions and 8 deletions
@@ -549,10 +549,12 @@ public class Main {
return AppStrings.translate("filter.gfx");
}
};
if (swf.gfx) {
fc.setFileFilter(gfxFilter);
} else {
fc.addChoosableFileFilter(gfxFilter);
if (mode == SaveFileMode.SAVE || mode == SaveFileMode.SAVEAS) {
if (swf.gfx) {
fc.setFileFilter(gfxFilter);
} else {
fc.addChoosableFileFilter(gfxFilter);
}
}
fc.setAcceptAllFileFilterUsed(false);
JFrame f = new JFrame();