1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-22 23:52:48 +02:00

Update file extension filter for manually added applications

Updated to *.bin *.dge *.sh *.py and extension-less files.
This commit is contained in:
Paul Cercueil 2013-07-08 02:24:55 -04:00
parent 5790740af6
commit aa8b21e076

View File

@ -1148,7 +1148,7 @@ void GMenu2X::changeWallpaper() {
} }
void GMenu2X::addLink() { void GMenu2X::addLink() {
FileDialog fd(this, ts, tr["Select an application"]); FileDialog fd(this, ts, tr["Select an application"], "dge,sh,bin,py,");
if (fd.exec()) { if (fd.exec()) {
menu->addLink(fd.getPath(), fd.getFile()); menu->addLink(fd.getPath(), fd.getFile());
sync(); sync();