diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-05-20 20:38:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-05-21 09:54:39 +0200 |
commit | 0d2472f01375261e354225017b6422ca29899247 (patch) | |
tree | fad3e6e568d7cf2910825a5a622d5b32c66c67df /sfx2 | |
parent | c1816feaa9c6ab30f01e14f621402307543c82ac (diff) |
route delete-event through cancel handler if available
for sync gtk dialogs too
Change-Id: Iad40c539a663504d72f372a0d3b4427a23e717c4
Reviewed-on: https://gerrit.libreoffice.org/72626
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/tabdlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index 32ab60c49776..79e2ad750ada 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -1352,14 +1352,14 @@ IMPL_LINK_NOARG(SfxTabDialogController, UserHdl, weld::Button&, void) if (RET_OK == nRet) nRet = RET_USER; else - nRet = RET_USER_CANCEL; + nRet = RET_CANCEL; m_xDialog->response(nRet); } } IMPL_LINK_NOARG(SfxTabDialogController, CancelHdl, weld::Button&, void) { - m_xDialog->response(RET_USER_CANCEL); + m_xDialog->response(RET_CANCEL); } IMPL_LINK_NOARG(SfxTabDialogController, ResetHdl, weld::Button&, void) |