UI: Fix UI deadlock after dragging source
Fixes obsproject/obs-studio#2609
This commit is contained in:
parent
3267f76c15
commit
81c4750fbf
1 changed files with 2 additions and 1 deletions
|
|
@ -1162,7 +1162,8 @@ void SourceTree::dropEvent(QDropEvent *event)
|
|||
}
|
||||
|
||||
if (indicator == QAbstractItemView::BelowItem ||
|
||||
indicator == QAbstractItemView::OnItem)
|
||||
indicator == QAbstractItemView::OnItem ||
|
||||
indicator == QAbstractItemView::OnViewport)
|
||||
row++;
|
||||
|
||||
if (row < 0 || row > stm->items.count()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue