Audio Preview Button: Don't gain focus on press
That makes the bigger preview scroll into it which given the audio preview contains the whole list of icons doesn't really make sense, the focus code was more towards editable fieldst Fixes: #1517830
commit42d84ef65c3e9f83a65529b1dc3df5288b2914c8
authorAlbert Astals Cid <albert.astals@canonical.com>
dateFri 29 Jan 2016, 11:52 (11 years ago)
parenta78e41bfff4d70
qml/Dash/Previews/PreviewAudioPlayback.qml+1
@@ -71,6 +71,7 @@ PreviewWidget {
7171 width: trackRow.column1Width
7272 height: width
7373 iconSource: DashAudioPlayer.playing && trackItem.isPlayingItem ? "image://theme/media-playback-pause" : "image://theme/media-playback-start"
74+ activeFocusOnPress: false
7475
7576 // Can't be "transparent" or "#00xxxxxx" as the button optimizes away the surrounding shape
7677 // FIXME when this is resolved: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1251685