https://bugs.kde.org/show_bug.cgi?id=402670
Rebecca Breu <rebe...@rbreu.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rebe...@rbreu.de --- Comment #4 from Rebecca Breu <rebe...@rbreu.de> --- All that the quit and exit functions do is raise a SystemExit Exception that can be caught. Here's an example of how to do that on the embedding level: http://www.myoddweb.com/2016/03/02/preventing-embedded-python-from-killing-your-app/ This would prevent any plugin to kill Krita with raising a SystemExit. Additionally, it would probably be a good idea to have the Scripter Plugin catch the exception itself on the Python level and simply close itself gracefully. I haven't got around to compiling Krita myself yet, otherwise I'd play around with it myself. -- You are receiving this mail because: You are watching all bug changes.