Display only unique names (regardless of extension .lua or .luac)
This commit is contained in:
@@ -80,7 +80,7 @@ class ScriptEditWindow : public Page {
|
|||||||
// Filename
|
// Filename
|
||||||
new StaticText(window, grid.getLabelSlot(), STR_SCRIPT);
|
new StaticText(window, grid.getLabelSlot(), STR_SCRIPT);
|
||||||
auto fc = new FileChoice(
|
auto fc = new FileChoice(
|
||||||
window, grid.getFieldSlot(), SCRIPTS_MIXES_PATH, SCRIPT_EXT,
|
window, grid.getFieldSlot(), SCRIPTS_MIXES_PATH, SCRIPTS_EXT,
|
||||||
LEN_SCRIPT_FILENAME,
|
LEN_SCRIPT_FILENAME,
|
||||||
[=]() { return std::string(sd->file, LEN_SCRIPT_FILENAME); },
|
[=]() { return std::string(sd->file, LEN_SCRIPT_FILENAME); },
|
||||||
[=](std::string newValue) {
|
[=](std::string newValue) {
|
||||||
|
|||||||
Vendored
+1
-1
Submodule radio/src/thirdparty/libopenui updated: 014e87b9fc...8e58aa3e16
Reference in New Issue
Block a user