sc/source/ui/namedlg/namedlg.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit a10c7ec17fe57c0367ce5a4cbefd89e8b63e069b Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Sat Dec 12 12:16:27 2020 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Thu Dec 17 13:36:30 2020 +0100
tdf#138822: really undo when clicking Cancel in managing Named Ranges Change-Id: Ib4d15e7e5287221ea51eb3e20dd1811c97999306 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107635 Tested-by: Jenkins Reviewed-by: Eike Rathke <er...@redhat.com> (cherry picked from commit 1790ed500f3033581ee4a3ef43428d7fda4692cc) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107807 diff --git a/sc/source/ui/namedlg/namedlg.cxx b/sc/source/ui/namedlg/namedlg.cxx index 69181ec246b2..4262a824f902 100644 --- a/sc/source/ui/namedlg/namedlg.cxx +++ b/sc/source/ui/namedlg/namedlg.cxx @@ -462,6 +462,7 @@ IMPL_LINK_NOARG(ScNameDlg, OkBtnHdl, weld::Button&, void) IMPL_LINK_NOARG(ScNameDlg, CancelBtnHdl, weld::Button&, void) { + mbCloseWithoutUndo = true; response(RET_CANCEL); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits