From 5790740af6a3252d8b80c8d36fd84dc560ac3636 Mon Sep 17 00:00:00 2001 From: Paul Cercueil Date: Mon, 8 Jul 2013 02:24:09 -0400 Subject: [PATCH] Match all files by default in the file dialog Due to recent changes, it was displaying only files without extension. --- src/filedialog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filedialog.h b/src/filedialog.h index d8da99b..51ae092 100644 --- a/src/filedialog.h +++ b/src/filedialog.h @@ -27,7 +27,7 @@ class FileDialog : public BrowseDialog { public: FileDialog( GMenu2X *gmenu2x, Touchscreen &ts, const std::string &text, - const std::string &filter="", const std::string &file="", + const std::string &filter="*", const std::string &file="", const std::string &title = "File Dialog"); virtual ~FileDialog(); bool exec();