1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-12-30 21:36:26 +02:00

Fix extension filters of the Explorer

It will now list files without extension, *.bin, *.sh, *.dge, and
*.py files.
This commit is contained in:
Paul Cercueil 2013-07-05 14:48:13 -04:00
parent dad8d1bad5
commit 3558dfbfa2

View File

@ -851,7 +851,7 @@ void GMenu2X::main() {
} }
void GMenu2X::explorer() { void GMenu2X::explorer() {
FileDialog fd(this, ts, tr["Select an application"], ".gpu,.dge,.sh,"); FileDialog fd(this, ts, tr["Select an application"], "dge,sh,bin,py,");
if (fd.exec()) { if (fd.exec()) {
if (confInt["saveSelection"] && (confInt["section"]!=menu->selSectionIndex() || confInt["link"]!=menu->selLinkIndex())) if (confInt["saveSelection"] && (confInt["section"]!=menu->selSectionIndex() || confInt["link"]!=menu->selLinkIndex()))
writeConfig(); writeConfig();