Commit ffd2026a authored by camilo higuita's avatar camilo higuita

allow opening param paths in multiple tabs

parent ea994ae6
......@@ -20,7 +20,7 @@ void Index::openPaths(const QStringList &paths)
else
list << QUrl::fromLocalFile(file.dir().absolutePath()).toString();
}else
list << url.toString();
list << url.toString();
return list;
}));
......
......@@ -163,7 +163,12 @@ Maui.ApplicationWindow
Connections
{
target: inx
onOpenPath: browser.openFolder(paths[0])
onOpenPath:
{
console.log("trying to open paths:", paths)
for(var index in paths)
browser.openTab(paths[index])
}
}
Component.onCompleted:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment