feat(color): add filters to file chooser popup menu (#4946)
This commit is contained in:
@@ -111,7 +111,7 @@ class ScriptEditWindow : public Page
|
||||
LUA_LOAD_MODEL_SCRIPT(idx); // async reload ...
|
||||
update = true;
|
||||
},
|
||||
true);
|
||||
true, STR_SCRIPT);
|
||||
|
||||
// Custom name
|
||||
line = window->newLine(grid);
|
||||
|
||||
@@ -92,7 +92,7 @@ static void setModelBitmap(std::string newValue)
|
||||
struct ModelBitmapEdit : public FileChoice {
|
||||
ModelBitmapEdit(Window *parent, const rect_t &rect) :
|
||||
FileChoice(parent, rect, BITMAPS_PATH, BITMAPS_EXT, LEN_BITMAP_NAME,
|
||||
getModelBitmap, setModelBitmap)
|
||||
getModelBitmap, setModelBitmap, false, STR_BITMAP)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
@@ -482,7 +482,7 @@ void FunctionEditPage::updateSpecialFunctionOneWindow()
|
||||
if (func == FUNC_PLAY_SCRIPT || func == FUNC_RGB_LED)
|
||||
LUA_LOAD_MODEL_SCRIPTS();
|
||||
},
|
||||
true); // strip extension
|
||||
true, funcGetLabel(func));
|
||||
break;
|
||||
|
||||
case FUNC_SET_TIMER: {
|
||||
|
||||
Reference in New Issue
Block a user