desktop/source/lib/init.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3c292e1c9991fa3d365cbe2acc4c6fa2ec7ada92 Author: Szymon Kłos <[email protected]> AuthorDate: Mon Sep 21 11:16:35 2020 +0200 Commit: Andras Timar <[email protected]> CommitDate: Tue Sep 22 10:22:40 2020 +0200 Allow to save file if chart editing is active This helps in online where autosave after user closed view with chart editing active caused document to be broken and not allowing to open again. Change-Id: Iab6a9bfe2c5f67c155ee97726e752c83fc47af5f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103091 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Andras Timar <[email protected]> diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index a2cf174ba599..b9fd1f9195e7 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -3952,7 +3952,7 @@ static void doc_postUnoCommand(LibreOfficeKitDocument* pThis, const char* pComma bool bResult = false; LokChartHelper aChartHelper(SfxViewShell::Current()); - if (aChartHelper.GetWindow() ) + if (aChartHelper.GetWindow() && aCommand != ".uno:Save" ) { util::URL aCommandURL; aCommandURL.Path = aCommand.copy(5); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
