suppress save dialog...

patch

Member³
I am currently working on a plugin that copies all the code from separate tabs into a single command window. When I close this window I am (correctly) presented with a save dialog. Is there any way to suppress this?
Thanks in advance,
Patrick Barel
 
You can use OnWindowClose and return 2.

This function allows you to take some action before a window is closed. You can
influence the closing of the window with the following return values:
0 = Default behavior
1 = Ask the user for confirmation (like the contents was changed)
2 = Don
 
Had that function added, but I forgot to export it :-(.
Now this is closing the window too fast, before it's done compiling. Maybe just have the user close the window after compile.
 
Back
Top