Kaydet (Commit) 0a8abaad authored tarafından Pranav Kant's avatar Pranav Kant

lok context menu: Include uno commands for submenus too

Change-Id: I4ba49ba94a3270a5d53754320e5fbd49e3f5c848
üst b0e678c8
...@@ -198,6 +198,8 @@ namespace { ...@@ -198,6 +198,8 @@ namespace {
continue; continue;
aItemTree.put("type", "menu"); aItemTree.put("type", "menu");
if (!aCommandURL.isEmpty())
aItemTree.put("command", aCommandURL.toUtf8().getStr());
aItemTree.push_back(std::make_pair("menu", aSubmenu)); aItemTree.push_back(std::make_pair("menu", aSubmenu));
} }
else else
......
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