Do not produce sound and highlight on disabled items and menu separators

This commit is contained in:
vladest 2017-10-12 18:39:26 +02:00
parent f1d5df5926
commit b965049651

View file

@ -73,6 +73,7 @@ FocusScope {
onImplicitWidthChanged: listView !== null ? listView.recalcSize() : 0
MouseArea {
enabled: name !== "" && item.enabled
anchors.fill: parent
hoverEnabled: true
onEntered: {