summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2020-12-18 08:05:12 -0400
committerHenry Castro <hcastro@collabora.com>2021-01-19 03:05:07 +0100
commitfd23ba7af9031658e2ce1628d9716e5f6e4934d1 (patch)
treea31ca6c86e3bc8e0290233a5de0a403f3d65af7e
parent9d5201aefffb4636c5e3612013424da4ca701612 (diff)
jsdialog: disable row activated on "select" action
Unfortunately, when the "Macro Selector Dialog" is shown and issue the "select" action, it closes the dialog because the row activated trigger double click the macro selected. for moment comment the unexpected side effect Change-Id: Ibdfa09c444ee79376a9e2251e919f5f06dba577d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107964 Tested-by: Jenkins Reviewed-by: Henry Castro <hcastro@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109144 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
-rw-r--r--vcl/jsdialog/executor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/jsdialog/executor.cxx b/vcl/jsdialog/executor.cxx
index f4bcc817a461..63a8f9dd011f 100644
--- a/vcl/jsdialog/executor.cxx
+++ b/vcl/jsdialog/executor.cxx
@@ -235,7 +235,7 @@ bool ExecuteAction(sal_uInt64 nWindowId, const OString& rWidget, StringMap& rDat
pTreeView->select(nRow);
pTreeView->set_cursor(nRow);
LOKTrigger::trigger_changed(*pTreeView);
- LOKTrigger::trigger_row_activated(*pTreeView);
+ //LOKTrigger::trigger_row_activated(*pTreeView);
return true;
}
else if (sAction == "expand")