https://bugs.documentfoundation.org/show_bug.cgi?id=165740

            Bug ID: 165740
           Summary: Can't manage menu by code as wanted
           Product: LibreOffice
           Version: 25.2.1.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Hello,
I want to manage menus as I want. I have 2 menus :
- Connect
- Disconnect
When  I start my macro, I want Connect is enable, Disconnect disable. When  I
connect, Connect is disable, Disconnect enable.

So I try with the "About" menu.
With the Basic code, I can disable (=> unvisible) the About Menu with the macro
"disableCommand" = ok immediately.
I use the macro "enableCommand" to re-enable About Menu, I've to restart OO to
see the menu.
I may be as immediately in enable or disable.



Steps to Reproduce:
1. Call disableAboutCommand() marco
2. About Menu => hide
3. Call enableAboutCommand() macro
4. About Menu => hide
5. restart OO
6. About Menu => visible

Actual Results:
About Menu => hide

Expected Results:
About Menu => visible immediately


Reproducible: Always


User Profile Reset: No

Additional Info:
Link to Bug 157915

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to