[Digikam-devel] [Bug 214707] no "picture not saved" warning when some tool active

Marcel Wiesweg marcel.wiesweg at gmx.de
Mon Dec 7 16:45:39 GMT 2009


https://bugs.kde.org/show_bug.cgi?id=214707


Marcel Wiesweg <marcel.wiesweg at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-12-07 17:45:37 ---
SVN commit 1059911 by mwiesweg:

To find out if an image needs to be saved when goint to the next one, we relied
on the save action to be enabled. But when an image plugin is loaded, all
standard
actions are disabled, so changes could silently be discarded.
As a solution, implement a method hasChangedToSave() and use that.
At the same time, consolidate slotUndoStateChange from ImageWindow and Showfoto
to common base class.

BUG: 214707

 M  +2 -1      NEWS  
 M  +0 -11     showfoto/showfoto.cpp  
 M  +0 -1      showfoto/showfoto.h  
 M  +5 -0      utilities/imageeditor/canvas/canvas.cpp  
 M  +1 -0      utilities/imageeditor/canvas/canvas.h  
 M  +5 -0      utilities/imageeditor/canvas/dimginterface.cpp  
 M  +1 -0      utilities/imageeditor/canvas/dimginterface.h  
 M  +18 -1     utilities/imageeditor/editor/editorwindow.cpp  
 M  +2 -0      utilities/imageeditor/editor/editorwindow.h  
 M  +2 -10     utilities/imageeditor/editor/imagewindow.cpp  
 M  +1 -1      utilities/imageeditor/editor/imagewindow.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1059911

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list