diff --git a/Sources/arm/Project.hx b/Sources/arm/Project.hx index ce7cc160..0260340e 100644 --- a/Sources/arm/Project.hx +++ b/Sources/arm/Project.hx @@ -578,7 +578,7 @@ class Project { UIFiles.show("arm,gpl", true, false, function(path: String) { var f = UIFiles.filename; if (f == "") f = tr("untitled"); - if (f.endsWith(".gpl")) ExportGpl.run(path + Path.sep + f, f.substring(0,f.lastIndexOf(".")), Project.raw.swatches); + if (f.endsWith(".gpl")) ExportGpl.run(path + Path.sep + f, f.substring(0, f.lastIndexOf(".")), Project.raw.swatches); else ExportArm.runSwatches(path + Path.sep + f); }); }