ralsina / aranduka

Automatically exported from code.google.com/p/aranduka
0 stars 1 forks source link

Let the user know about unsaved changes #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When you make changes on the book editor (changing details, adding tags, etc.) 
and you click on a shelf view, you lose all your changes. 

We should add a dialog that reminds you that you've made changes and haven't 
saved them, and allows you to save or discard the changes.

Original issue reported on code.google.com by andresgattinoni on 19 Jan 2012 at 3:43

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 5ed805411ffd.

Original comment by andresgattinoni on 19 Jan 2012 at 7:08

GoogleCodeExporter commented 9 years ago
I started working on this, but there's something I can't figure out... the 
BookEditor widget never gets closed, is always hidden. So the event that is 
triggered when you click on a shelf view is QHideEvent. The problem is that 
this event is also triggered when the window is minimized. 
I've tried overloading the QWidget.event() method, but couldn't figure out a 
way around it.
Any ideas?

Original comment by andresgattinoni on 19 Jan 2012 at 7:33

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 79d8f7bdb446.

Original comment by andresgattinoni on 21 Jan 2012 at 4:56