1
0
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:
Maarten ter Huurne 2013-08-16 09:46:16 +02:00
parent d6deb29ba0
commit 8d38decc82

View File

@ -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;