| commit | 3859878f0e8c4dc212d952a156b83d1ba913f7f1 | [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:48:28 2021 +0200 |
| tree | f1ddc31338dd7b51c270bfeca5cd9fc2fefbe38d | |
| parent | 05f1990cbdcd99f7ba4863b91a8f1f298b56326a [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/+/123806 Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Jenkins
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx index 9757f15..2e7ac67 100644 --- a/fpicker/source/office/RemoteFilesDialog.cxx +++ b/fpicker/source/office/RemoteFilesDialog.cxx
@@ -711,7 +711,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); }