Fixes file extensions for sound files
File names in special functions are stored without extension. Resolves #137
This commit is contained in:
@@ -149,7 +149,7 @@ class SpecialFunctionEditPage : public Page {
|
|||||||
[=](std::string newValue) {
|
[=](std::string newValue) {
|
||||||
strncpy(cfn->play.name, newValue.c_str(), sizeof(cfn->play.name));
|
strncpy(cfn->play.name, newValue.c_str(), sizeof(cfn->play.name));
|
||||||
SET_DIRTY();
|
SET_DIRTY();
|
||||||
});
|
}, true); // strip extension
|
||||||
grid.nextLine();
|
grid.nextLine();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
Submodule radio/src/thirdparty/libopenui updated: e07743cdbb...0d5b13c578
Reference in New Issue
Block a user