diff options
Diffstat (limited to 'vcl/source/treelist/treelistbox.cxx')
-rw-r--r-- | vcl/source/treelist/treelistbox.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/source/treelist/treelistbox.cxx b/vcl/source/treelist/treelistbox.cxx index aa56db5b718f..26d7d44dc6aa 100644 --- a/vcl/source/treelist/treelistbox.cxx +++ b/vcl/source/treelist/treelistbox.cxx @@ -889,6 +889,13 @@ void SvTreeListBox::EnableSelectionAsDropTarget( bool bEnable ) // InplaceEditing // ****************************************************************** +VclPtr<Edit> SvInplaceEdit2::GetEditWidget() const { return pEdit; }; + +VclPtr<Edit> SvTreeListBox::GetEditWidget() const +{ + return pEdCtrl ? pEdCtrl->GetEditWidget() : nullptr; +} + void SvTreeListBox::EditText( const OUString& rStr, const tools::Rectangle& rRect, const Selection& rSel ) { |