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

Dmitry Kazakov <dimul...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/commit/45c28ddef
                   |                            |8e09e19ce186fbfcd3ef7580ecf
                   |                            |9ab4

--- Comment #19 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 45c28ddef8e09e19ce186fbfcd3ef7580ecf9ab4 by Dmitry Kazakov, on
behalf of Halla Rempt.
Committed on 31/05/2022 at 12:10.
Pushed by dkazakov into branch 'master'.

Warn the user if a save operation is aborted

It's possible to try to save during autosave or try to export
when a save is going on, and in that case the savingMutex is locked
and we'd cancel() the saving operation, silently, as if the user
had pressed cancel in the export dialog.

Now we can return not just a bool, but succes, failure or busy
from initiateSaving depending on whether the the document was
busy, saving succeeded or failed.

M  +26   -23   libs/ui/KisDocument.cpp
M  +2    -2    libs/ui/KisDocument.h
M  +2    -1    libs/ui/KisImportExportErrorCode.cpp
M  +3    -0    libs/ui/KisImportExportErrorCode.h
M  +6    -0    libs/ui/KisImportExportUtils.h
M  +4    -3    libs/ui/KisMainWindow.cpp

https://invent.kde.org/graphics/krita/commit/45c28ddef8e09e19ce186fbfcd3ef7580ecf9ab4

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to