mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-29 16:50:11 +02:00
added a completion list to InputField, use it for all genres input field
This commit is contained in:
@@ -53,10 +53,12 @@ Item {
|
||||
height: parent.height * 0.2
|
||||
spacing: defaultFontHeight * 0.5
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
z: 2
|
||||
|
||||
InputField {
|
||||
id: genreInputField
|
||||
width: parent.width - createFromInputButton.width - parent.spacing
|
||||
completionModel: allGenres
|
||||
|
||||
onAccepted: createStation(text);
|
||||
}
|
||||
@@ -81,7 +83,7 @@ Item {
|
||||
TagCloud {
|
||||
anchors.fill: parent
|
||||
anchors.margins: parent.width / 6
|
||||
model: styleModel
|
||||
model: allGenres
|
||||
|
||||
onTagClicked: {
|
||||
root.createStation(tag);
|
||||
|
Reference in New Issue
Block a user