We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
arduino
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 646c9f7 commit c58e2e6Copy full SHA for c58e2e6
app/src/processing/app/SketchController.java
@@ -150,7 +150,7 @@ protected void nameCode(String newName) {
150
if (split.extension.equals(""))
151
split.extension = Sketch.DEFAULT_SKETCH_EXTENSION;
152
153
- if (!Sketch.EXTENSIONS.contains(split.extension)) {
+ if (!Sketch.EXTENSIONS.contains(split.extension.toLowerCase())) {
154
String msg = I18n.format(tr("\".{0}\" is not a valid extension."),
155
split.extension);
156
Base.showWarning(tr("Problem with rename"), msg, null);
0 commit comments