Bug 324581

Summary: Cantor does not warn about unsaved changes when closing files
Product: [Applications] cantor Reporter: Michael G. Hansen <mike>
Component: generalAssignee: Alexander Rieder <alexanderrieder>
Status: RESOLVED FIXED    
Severity: critical CC: aleixpol
Priority: NOR    
Version: 0.4   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Michael G. Hansen 2013-09-06 12:05:41 UTC
When editing a worksheet, Cantor does not warn me when I close the file before saving the changes.

Reproducible: Always

Steps to Reproduce:
1. Start Cantor with maxima backend.
2. Enter "a: 1;" and press shift-enter.
3. Close Cantor.
Actual Results:  
Cantor does not ask for the changes in the worksheet to be saved.

Expected Results:  
Cantor should ask me whether I want to save my changes. With the current behavior, data is easily lost.
Comment 1 Aleix Pol 2013-10-28 11:29:18 UTC
I can reproduce
Comment 2 Garvit Khatri 2015-05-31 06:17:03 UTC
Git commit 33676ef527c7feedabbf17df20f976172173ce4d by Garvit Khatri.
Committed on 31/05/2015 at 06:16.
Pushed by garvitkhatri into branch 'master'.

Warning about unsaved data in cantor
REVIEW:123312

M  +54   -0    src/cantor.cpp
M  +2    -0    src/cantor.h

http://commits.kde.org/cantor/33676ef527c7feedabbf17df20f976172173ce4d
Comment 3 Garvit Khatri 2015-05-31 06:17:03 UTC
Git commit 33676ef527c7feedabbf17df20f976172173ce4d by Garvit Khatri.
Committed on 31/05/2015 at 06:16.
Pushed by garvitkhatri into branch 'master'.

Warning about unsaved data in cantor
REVIEW:123312

M  +54   -0    src/cantor.cpp
M  +2    -0    src/cantor.h

http://commits.kde.org/cantor/33676ef527c7feedabbf17df20f976172173ce4d