mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-23 03:51:52 +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() {
|
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 (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();
|
||||||
@ -1148,7 +1148,7 @@ void GMenu2X::changeWallpaper() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void GMenu2X::addLink() {
|
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()) {
|
if (fd.exec()) {
|
||||||
menu->addLink(fd.getPath(), fd.getFile());
|
menu->addLink(fd.getPath(), fd.getFile());
|
||||||
sync();
|
sync();
|
||||||
|
Loading…
Reference in New Issue
Block a user