diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2020-05-19 12:12:59 +0200 |
---|---|---|
committer | Xisco Faulí <xiscofauli@libreoffice.org> | 2020-05-19 14:42:39 +0200 |
commit | 4435a3b02525067700ee494dbd91d84df985b001 (patch) | |
tree | 8b50c61891d02f43411fa52c9eb82a822f7413a8 /vcl | |
parent | 71a23fa995f149458d1371bd863bdc4a035bc7ab (diff) |
tdf#98493, tdf#133079: sc: Add UItest
Change-Id: I04794bb7313f6ecd32088f8e7aa57e898f8ba427
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94493
Tested-by: Xisco Faulí <xiscofauli@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/treelist/uiobject.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/treelist/uiobject.cxx b/vcl/source/treelist/uiobject.cxx index e5f166e8f1ce..2478ab8786df 100644 --- a/vcl/source/treelist/uiobject.cxx +++ b/vcl/source/treelist/uiobject.cxx @@ -135,6 +135,11 @@ void TreeListEntryUIObject::execute(const OUString& rAction, const StringMap& /* return; pItem->ClickHdl(mpEntry); } + else if (rAction == "DOUBLECLICK") + { + mxTreeList->Select(mpEntry); + mxTreeList->DoubleClickHdl(); + } } std::unique_ptr<UIObject> TreeListEntryUIObject::get_child(const OUString& rID) |