[Libreoffice-commits] core.git: sc/source

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Wed Dec 16 22:54:42 UTC 2020


 sc/source/ui/namedlg/namedlg.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 1790ed500f3033581ee4a3ef43428d7fda4692cc
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sat Dec 12 12:16:27 2020 +0100
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Wed Dec 16 23:53:59 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>

diff --git a/sc/source/ui/namedlg/namedlg.cxx b/sc/source/ui/namedlg/namedlg.cxx
index 88a115aec4b5..1b76dfafa997 100644
--- a/sc/source/ui/namedlg/namedlg.cxx
+++ b/sc/source/ui/namedlg/namedlg.cxx
@@ -459,6 +459,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