Login  Register

Re: [@dxli and @sand1024] please a tip for the RS_Eventhandler

Posted by emanuel on Apr 12, 2025; 11:16pm
URL: https://forum.librecad.org/fixed-thanks-please-a-tip-for-the-RS-Eventhandler-tp5726883p5726914.html

Now I'm happy.
I built a cleanup function, getEventHandler()->killShownActions(); similar to killSelectActions(). This allowed me to reset 80% of the patch. I no longer need switches, the RS_ActionInterface is back to original, and I no longer need a wheelEvent in the action. And everything works, even the zoom buttons and the command line eliminate the slide display. :-)