UI: Fix UI deadlock after dragging source
Fixes obsproject/obs-studio#2609
This commit is contained in:
parent
3267f76c15
commit
81c4750fbf
@ -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…
x
Reference in New Issue
Block a user