From 3859878f0e8c4dc212d952a156b83d1ba913f7f1 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 19 Oct 2021 10:32:18 +0100 Subject: Related: tdf#145169 make double-click call same handler as ok button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Caolán McNamara Tested-by: Jenkins --- fpicker/source/office/RemoteFilesDialog.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpicker') diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx index 9757f151541c..2e7ac67ead37 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); } -- cgit