Summary: | no "picture not saved" warning when some tool active | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Bartek Pietrasiak <pietras.sp> |
Component: | ImageEditor-Save | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.0.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 1.0.0 | |
Sentry Crash Report: |
Description
Bartek Pietrasiak
2009-11-15 20:22:57 UTC
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 |