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

--- Comment #2 from Jean-Pierre Ledure <[email protected]> ---
There is no solution, indeed, within ScriptForge. After creation and
configuration, a menu is disposed. It is kept nowhere for occasional restores.

There is a mean to not create a menu twice: precede each CreateMenu() with a
RemoveMenu(). The latter simply returns True (the menu existed) or False (the
menu was not found) and does not complain when not found.

In the future we can imagine a kind of
    doc.MenuExists(menuname)
method if there is a real pain.

In the meantime I recommend the NOTABUG status. I let you the final decision,
Rafael.

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

Reply via email to