diff options
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/moduldlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/moduldlg.cxx b/basctl/source/basicide/moduldlg.cxx index 7aeae822a7bb..92c3ee9654ff 100644 --- a/basctl/source/basicide/moduldlg.cxx +++ b/basctl/source/basicide/moduldlg.cxx @@ -240,7 +240,7 @@ private: { // to enable the autoscroll when we're close to the edges weld::TreeView& rWidget = m_rTreeView.get_widget(); - rWidget.get_dest_row_at_pos(rEvt.maPosPixel, nullptr); + rWidget.get_dest_row_at_pos(rEvt.maPosPixel, nullptr, true); weld::TreeView* pSource = rWidget.get_drag_source(); if (!pSource) @@ -291,7 +291,7 @@ private: return DND_ACTION_NONE; std::unique_ptr<weld::TreeIter> xEntry(rWidget.make_iterator()); - bool bEntry = rWidget.get_dest_row_at_pos(rEvt.maPosPixel, xEntry.get()); + bool bEntry = rWidget.get_dest_row_at_pos(rEvt.maPosPixel, xEntry.get(), true); // don't drop on a BasicManager (nDepth == 0) sal_uInt16 nDepth = bEntry ? m_rTreeView.get_iter_depth(*xEntry) : 0; |