Browse Source

UI: Add workaround for drag&drop removing items with Qt-5.4/win

Workaround taken from <http://stackoverflow.com/a/30291775>,
potentially relevant Qt bug:
<https://bugreports.qt.io/browse/QTBUG-45365>
Palana 10 years ago
parent
commit
fc0819ca32
1 changed files with 2 additions and 2 deletions
  1. 2 2
      obs/forms/OBSBasic.ui

+ 2 - 2
obs/forms/OBSBasic.ui

@@ -382,7 +382,7 @@
                 <enum>QAbstractItemView::ExtendedSelection</enum>
                </property>
                <property name="defaultDropAction">
-                <enum>Qt::IgnoreAction</enum>
+                <enum>Qt::TargetMoveAction</enum>
                </property>
               <addaction name="actionRemoveSource"/>
              </widget>
@@ -498,7 +498,7 @@
                <enum>QAbstractItemView::InternalMove</enum>
               </property>
               <property name="defaultDropAction">
-               <enum>Qt::IgnoreAction</enum>
+               <enum>Qt::TargetMoveAction</enum>
               </property>
               <addaction name="actionRemoveScene"/>
              </widget>