Bug 324581 - Cantor does not warn about unsaved changes when closing files
Summary: Cantor does not warn about unsaved changes when closing files
Status: RESOLVED FIXED
Alias: None
Product: cantor
Classification: Applications
Component: general (show other bugs)
Version: 0.4
Platform: Kubuntu Linux
: NOR critical
Target Milestone: ---
Assignee: Alexander Rieder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-06 12:05 UTC by Michael G. Hansen
Modified: 2015-05-31 06:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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