mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-12-26 21:18:58 +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;
|
||||
}
|
||||
gmenu2x->writeTmp(selection, selectedDir);
|
||||
launch(sel.getFile());
|
||||
launch(selectedDir + sel.getFile());
|
||||
}
|
||||
}
|
||||
|
||||
@ -592,7 +592,7 @@ void LinkApp::launch(const string &selectedFile) {
|
||||
}
|
||||
|
||||
if (!selectedFile.empty()) {
|
||||
string path = cmdclean(selectordir + selectedFile);
|
||||
string path = cmdclean(selectedFile);
|
||||
|
||||
if (params.empty()) {
|
||||
params = path;
|
||||
|
Loading…
Reference in New Issue
Block a user