Skip to content
Snippets Groups Projects
Commit 96d5906d authored by Pierre Lamot's avatar Pierre Lamot Committed by Jean-Baptiste Kempf
Browse files

qml: remove the 3 char limit warning in SearchBox

the limit no longer exists in the medialibrary
parent e6bdb6f3
No related branches found
No related tags found
1 merge request!600qml: search box refactoring
......@@ -109,14 +109,7 @@ FocusScope {
width: 0
implicitHeight: searchBox.height
border.color: {
if ( searchBox.text.length < 3 && searchBox.text.length !== 0 )
return VLCStyle.colors.alert
else if ( searchBox.activeFocus )
return VLCStyle.colors.accent
else
return VLCStyle.colors.buttonBorder
}
border.color: searchBox.activeFocus ? VLCStyle.colors.accent : VLCStyle.colors.buttonBorder
TextField {
id: searchBox
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment