mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-27 16:29:04 -04:00
UI: Fix Delete key not working on scenes/sources
This commit fixes two regressions introduced by the modular UI (commit
25bb8a444f):
- the Delete key no longer works in the scene list
- the Delete key no longer works working in the source list
This commit also enables the Delete key on sources that were selected by
clicking on them in the preview, which addresses Mantis Bug 576
(https://obsproject.com/mantis/view.php?id=576).
This commit is contained in:
1 parent
8a5cf99aa7
commit
c21d83c2f3
1 file changed
+3
@@ -86,6 +86,7 @@
|
||||
<property name="contextMenuPolicy">
|
||||
<enum>Qt::CustomContextMenu</enum>
|
||||
</property>
|
||||
<addaction name="actionRemoveSource"/>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
@@ -400,6 +401,7 @@
|
||||
<property name="defaultDropAction">
|
||||
<enum>Qt::TargetMoveAction</enum>
|
||||
</property>
|
||||
<addaction name="actionRemoveScene"/>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -531,6 +533,7 @@
|
||||
<property name="selectionMode">
|
||||
<enum>QAbstractItemView::ExtendedSelection</enum>
|
||||
</property>
|
||||
<addaction name="actionRemoveSource"/>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
|
||||
Reference in new issue
Block a user