[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - sc/source
Julien Nabet (via logerrit)
logerrit at kemper.freedesktop.org
Thu Dec 17 11:40:17 UTC 2020
sc/source/ui/namedlg/namedlg.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit ccff3cc5830ff5780123722f809bbe748cc7e5fd
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sat Dec 12 12:16:27 2020 +0100
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Thu Dec 17 12:39:45 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 <erack at redhat.com>
(cherry picked from commit 1790ed500f3033581ee4a3ef43428d7fda4692cc)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107806
diff --git a/sc/source/ui/namedlg/namedlg.cxx b/sc/source/ui/namedlg/namedlg.cxx
index 314cb42fbbfa..799e94a2e0e7 100644
--- a/sc/source/ui/namedlg/namedlg.cxx
+++ b/sc/source/ui/namedlg/namedlg.cxx
@@ -460,6 +460,7 @@ IMPL_LINK_NOARG(ScNameDlg, OkBtnHdl, weld::Button&, void)
IMPL_LINK_NOARG(ScNameDlg, CancelBtnHdl, weld::Button&, void)
{
+ mbCloseWithoutUndo = true;
response(RET_CANCEL);
}
More information about the Libreoffice-commits
mailing list