Close editor without showing notification window

for a certain editor, I want to close it without showing the save notification window even I have made some change on it?

I have tried setShowSaveNotification to false, but it seems not work.

Best Regards.


I suggest that you use AbstractWindow#close(java.lang.String, boolean) method

//it means that your editor will be force closed with "close" action id
close(CLOSE_ACTION_ID, true)
1 Like

Also, you can set “Allow commit” to false for your datasources, and they will not report about unsaved changes to the screen.

1 Like

Thank you very much