mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-19 09:41:32 +08:00
UI: Fix UI deadlock after dragging source
Fixes obsproject/obs-studio#2609
This commit is contained in:
+2
-1
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user