| commit | c236052e73621a363c6efa2815327d315e0af300 | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Tue Oct 19 10:32:18 2021 +0100 |
| committer | Caolán McNamara <caolanm@redhat.com> | Tue Oct 19 14:49:27 2021 +0200 |
| tree | 4d82e44e1c67b4f50af2632db173d392ae81ca85 | |
| parent | 516a4a59b7d16fbd803f55c37c51564f46a29f7d [diff] |
Related: tdf#145169 make double-click call same handler as ok button so that the user is asked to confirm an overwrite of a file Change-Id: I1340fb33559b68c28fc91e272f05e122f8c519ed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123780 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org>
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx index a48620f..3f67cc2 100644 --- a/fpicker/source/office/RemoteFilesDialog.cxx +++ b/fpicker/source/office/RemoteFilesDialog.cxx
@@ -710,7 +710,7 @@ IMPL_LINK_NOARG( RemoteFilesDialog, DoubleClickHdl, SvtFileView*, bool ) if (pData) { if (!pData->mbIsFolder) m_xDialog->response(RET_OK); OkHdl(*m_xOk_btn); else OpenURL(pData->maURL); }