0

after-graph-view-change in two plugins?

I have 2 separate python plugins that I want to respond to "after-graph-view-change".  It looks like just the first one fires.. is there a way to pass the event along so another plugin can respond as well? Or would I have to combine the two plugins into one source file?

 

Daniel

2 条评论

  • 0
    Avatar
    Robyn Rindge

    I don't know if this will help, but I always put an "event.reject()" at the beginning of any event handling method to let others see it (unless I want to explicitly swallow it) Something like:

     

    def myMethod(self, event):
        # make sure other folks get this event also
        event.reject()

        # rest of myMethod...

     

  • 0
    Avatar
    Daniel Kramer

    That worked perfectly! 

    Thanks Robyn

    D

请先登录再写评论。