mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
Pass full path to LinkApp::launch
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user