Commit 136cf96c authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

EffectList: Removing multiple selection.

parent e579cbf3
......@@ -17,8 +17,6 @@ EffectsListView::EffectsListView(QWidget *parent) :
SLOT( effectAdded(Effect*, const QString&, Effect::Type) ) );
setModel( m_model );
setEditTriggers( QListView::NoEditTriggers );
setDragEnabled( true );
setSelectionMode( QAbstractItemView::MultiSelection );
}
void
......
......@@ -26,15 +26,9 @@
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="EffectsListView" name="filterList">
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="dragEnabled">
<bool>true</bool>
</property>
<property name="dragDropMode">
<enum>QAbstractItemView::DragOnly</enum>
</property>
</widget>
</item>
</layout>
......@@ -45,7 +39,11 @@
</attribute>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="EffectsListView" name="effectsList"/>
<widget class="EffectsListView" name="effectsList">
<property name="dragEnabled">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment