diff options
author | Verne-Lai <verne@ossii.com.tw> | 2021-10-14 09:01:58 +0800 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2022-01-24 23:03:05 +0100 |
commit | 687cfd51ac785c2ab2cb8e49dea28aa7f53cbdfb (patch) | |
tree | cbc6b8079184a6f463779c57975e8b36682e0d02 /sfx2/inc | |
parent | 8204d322379cbc054fb834911d88fb0fe3b040c6 (diff) |
tdf#131327 Add double clicked event on auto-redact table
Change-Id: Id927244fcd7e985edadb2b9f9cfdd61ba93066e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123570
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sfx2/inc')
-rw-r--r-- | sfx2/inc/autoredactdialog.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sfx2/inc/autoredactdialog.hxx b/sfx2/inc/autoredactdialog.hxx index fe43eef840f0..28c2c561f60d 100644 --- a/sfx2/inc/autoredactdialog.hxx +++ b/sfx2/inc/autoredactdialog.hxx @@ -76,6 +76,11 @@ public: // Sync data on the targets box with the data on the target void setRowData(int nRowIndex, const RedactionTarget* pTarget); + + void connect_row_activated(const Link<weld::TreeView&, bool>& rLink) + { + m_xControl->connect_row_activated(rLink); + }; }; namespace sfx2 @@ -110,7 +115,7 @@ class SfxAutoRedactDialog final : public SfxDialogController DECL_LINK(AddHdl, weld::Button&, void); DECL_LINK(EditHdl, weld::Button&, void); DECL_LINK(DeleteHdl, weld::Button&, void); - + DECL_LINK(DoubleClickEditHdl, weld::TreeView&, bool); DECL_LINK(LoadHdl, sfx2::FileDialogHelper*, void); DECL_LINK(SaveHdl, sfx2::FileDialogHelper*, void); |