From d1aac69843f38002ee19c02e99b0578801885715 Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Sun, 6 Jun 2021 10:14:10 +0200 Subject: [PATCH] Fixes file extensions for sound files File names in special functions are stored without extension. Resolves #137 --- radio/src/gui/colorlcd/special_functions.cpp | 2 +- radio/src/thirdparty/libopenui | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/radio/src/gui/colorlcd/special_functions.cpp b/radio/src/gui/colorlcd/special_functions.cpp index c4865fe30..a7092095a 100644 --- a/radio/src/gui/colorlcd/special_functions.cpp +++ b/radio/src/gui/colorlcd/special_functions.cpp @@ -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; diff --git a/radio/src/thirdparty/libopenui b/radio/src/thirdparty/libopenui index e07743cdb..0d5b13c57 160000 --- a/radio/src/thirdparty/libopenui +++ b/radio/src/thirdparty/libopenui @@ -1 +1 @@ -Subproject commit e07743cdbb94b7acaf230317d73f0edbb9a97ff1 +Subproject commit 0d5b13c578e5893b98a54490815e3d3b5a3d6ff6