file choice: parent is Window

This commit is contained in:
Raphael Coeffic
2022-06-11 15:13:11 +02:00
committed by Raphael Coeffic
parent 5878802c9b
commit dd543c151b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -33,7 +33,7 @@
#define STR_NO_FILES_ON_SD "No files on SD Card!" #define STR_NO_FILES_ON_SD "No files on SD Card!"
#endif #endif
FileChoice::FileChoice(FormGroup *parent, const rect_t &rect, FileChoice::FileChoice(Window* parent, const rect_t &rect,
std::string folder, const char *extension, int maxlen, std::string folder, const char *extension, int maxlen,
std::function<std::string()> getValue, std::function<std::string()> getValue,
std::function<void(std::string)> setValue, std::function<void(std::string)> setValue,
+1 -1
View File
@@ -25,7 +25,7 @@
class FileChoice : public ChoiceBase class FileChoice : public ChoiceBase
{ {
public: public:
FileChoice(FormGroup* parent, const rect_t& rect, std::string folder, FileChoice(Window* parent, const rect_t& rect, std::string folder,
const char* extension, int maxlen, const char* extension, int maxlen,
std::function<std::string()> getValue, std::function<std::string()> getValue,
std::function<void(std::string)> setValue, std::function<void(std::string)> setValue,