I have added KMessageBox::warningYesNoCancel if someone has unsaved changes left when closing the application.
Review Request #123312 - Created April 9, 2015 and submitted
Warning about unsaved data in cantor
I have tested it on KF5.
I'm not a cantor developer, so not up for acually giving a shipit. I do have a couple of minor comments here
Thanks Garvit, your contribution is an improvement for Cantor.
But this feature needs to aim more 2 specific cases:
- If I press "Save" in the dialog and after I press "Cancel", Cantor must not be closed. You can verify the correct behaviour in others software, like kate or kile.
- If I am working in more than one worksheet in the same time, the warning dialog is presented only for one worksheet. The feature needs to verify if there are more worksheets to be saved.
Try to provide those improvements and your contribution will be accepeted in code base. =)