[fixed - thanks] please a tip for the RS_Eventhandler

Posted by emanuel on
URL: https://forum.librecad.org/fixed-thanks-please-a-tip-for-the-RS-Eventhandler-tp5726883.html

Hello, I urgently need help.
I build an action with RS_Action interface, without a preview  (rendering of an AutoCad Slide).
https://github.com/emanuel4you/LibreCAD/blob/developer/librecad/src/actions/file/lc_actionfileviewslide.cpp

When I remove finish(false); from ::trigger, the action continues, but I don't get any events in the action.
Probably because the RS_EventHandler is put on hasAction.

What do I have to do to get the events in the action?

Just like here in the plugins:
https://github.com/emanuel4you/LibreCAD/blob/developer/librecad/src/main/doc_plugin_interface.cpp#L1232

I need this because the action is to be ended via events.
In AutoCAD, the command picture display in the GraphicView ended either via Zoom, Pan, or Redraw.