[ui] Inspector 3D: Added mouse area to allow forcing focus to the parent item when clicking

This commit is contained in:
waaake 2025-02-06 09:28:05 +05:30
parent e51bb93bf0
commit e1ac6c34dc

View file

@ -355,6 +355,14 @@ FloatingPane {
}
}
MouseArea {
anchors.fill: parent
onClicked: {
/// Steal focus from anything that may have
mediaListView.forceActiveFocus();
}
}
model: SortFilterDelegateModel {
model: mediaLibrary.model
sortRole: ""