Fixes file extensions for sound files

File names in special functions are stored without extension.
Resolves #137
This commit is contained in:
Raphael Coeffic
2021-06-06 10:14:10 +02:00
parent 14f0aa6884
commit d1aac69843
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ class SpecialFunctionEditPage : public Page {
[=](std::string newValue) {
strncpy(cfn->play.name, newValue.c_str(), sizeof(cfn->play.name));
SET_DIRTY();
});
}, true); // strip extension
grid.nextLine();
break;