Adding actions to KDevelop::ContextMenuExtension after menu is displayed

Aleix Pol aleixpol at kde.org
Wed Jul 22 17:04:25 UTC 2015


On Wed, Jul 22, 2015 at 5:21 PM, Maciej Poleski
<d82ks8djf82msd83hf8sc02lqb5gh5 at gmail.com> wrote:
> Hi,
>
> If I add additional actions to KDevelop::ContextMenuExtension after IPlugin::contextMenuExtension(KDevelop::Context* context) finished, then KDevelop crashes. How to add actions to already-displayed context menu?

Why would you do that? You should add the actions within contextMenuExtension.

Aleix


More information about the KDevelop-devel mailing list