diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2020-12-12 12:16:27 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2020-12-17 13:36:30 +0100 |
commit | a10c7ec17fe57c0367ce5a4cbefd89e8b63e069b (patch) | |
tree | 749d91caa4d1e4134c1d4987348dfcfc34788f58 /sc | |
parent | 88aa8f5343705008b86ef41512993a00d331a668 (diff) |
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@redhat.com>
(cherry picked from commit 1790ed500f3033581ee4a3ef43428d7fda4692cc)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107807
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/namedlg/namedlg.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |