mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-23 00:02:48 +02:00
Pass full path to LinkApp::launch
This commit is contained in:
parent
d6deb29ba0
commit
8d38decc82
@ -547,7 +547,7 @@ void LinkApp::selector(int startSelection, const string &selectorDir) {
|
|||||||
selectordir = selectedDir;
|
selectordir = selectedDir;
|
||||||
}
|
}
|
||||||
gmenu2x->writeTmp(selection, selectedDir);
|
gmenu2x->writeTmp(selection, selectedDir);
|
||||||
launch(sel.getFile());
|
launch(selectedDir + sel.getFile());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -592,7 +592,7 @@ void LinkApp::launch(const string &selectedFile) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!selectedFile.empty()) {
|
if (!selectedFile.empty()) {
|
||||||
string path = cmdclean(selectordir + selectedFile);
|
string path = cmdclean(selectedFile);
|
||||||
|
|
||||||
if (params.empty()) {
|
if (params.empty()) {
|
||||||
params = path;
|
params = path;
|
||||||
|
Loading…
Reference in New Issue
Block a user