mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-22 17:12:29 +02:00
Add *.elf to the filter of the explorer and the "add link" dialog
This commit is contained in:
parent
aa8b21e076
commit
e1968c3830
@ -794,7 +794,7 @@ void GMenu2X::main() {
|
||||
}
|
||||
|
||||
void GMenu2X::explorer() {
|
||||
FileDialog fd(this, ts, tr["Select an application"], "dge,sh,bin,py,");
|
||||
FileDialog fd(this, ts, tr["Select an application"], "dge,sh,bin,py,elf,");
|
||||
if (fd.exec()) {
|
||||
if (confInt["saveSelection"] && (confInt["section"]!=menu->selSectionIndex() || confInt["link"]!=menu->selLinkIndex()))
|
||||
writeConfig();
|
||||
@ -1148,7 +1148,7 @@ void GMenu2X::changeWallpaper() {
|
||||
}
|
||||
|
||||
void GMenu2X::addLink() {
|
||||
FileDialog fd(this, ts, tr["Select an application"], "dge,sh,bin,py,");
|
||||
FileDialog fd(this, ts, tr["Select an application"], "dge,sh,bin,py,elf,");
|
||||
if (fd.exec()) {
|
||||
menu->addLink(fd.getPath(), fd.getFile());
|
||||
sync();
|
||||
|
Loading…
Reference in New Issue
Block a user