sfx2/source/control/dispatch.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 0a8abaadf322dca5628c6e62eb18b19394995c40
Author: Pranav Kant <[email protected]>
Date:   Mon Apr 11 17:03:45 2016 +0530

    lok context menu: Include uno commands for submenus too
    
    Change-Id: I4ba49ba94a3270a5d53754320e5fbd49e3f5c848

diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index 396f993..aab0e29 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -198,6 +198,8 @@ namespace {
                         continue;
 
                     aItemTree.put("type", "menu");
+                    if (!aCommandURL.isEmpty())
+                        aItemTree.put("command", 
aCommandURL.toUtf8().getStr());
                     aItemTree.push_back(std::make_pair("menu", aSubmenu));
                 }
                 else
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to