Commit a2e2a311 authored by camilo higuita's avatar camilo higuita

fixes on search view

parent 5d55f2a3
......@@ -46,9 +46,9 @@ Maui.Page
footBar.middleContent: AlbumsRoll
{
// height: toolBarHeight * 1.3
// Layout.fillWidth: true
Layout.fillWidth: true
Layout.fillHeight: true
width: footBar.width
// width: footBar.width
// height: footBar.height
id: albumsRoll
}
......
......@@ -89,7 +89,7 @@ BabeTable
function runSearch(searchTxt)
{
if(searchTxt)
if(searchTxt !== searchTable.headBarTitle)
if(searchTxt !== searchTable.title)
{
if(savedQueries.indexOf(searchTxt) < 0)
{
......@@ -98,7 +98,7 @@ BabeTable
Maui.FM.saveSettings("QUERIES", savedQueries.join(","), "BABE")
}
searchTable.headBarTitle = searchTxt
searchTable.title = searchTxt
var queries = searchTxt.split(",")
searchTable.list.searchQueries(queries)
searchTable.forceActiveFocus()
......@@ -110,7 +110,7 @@ BabeTable
{
searchInput.clear()
searchTable.list.clear()
searchTable.headBarTitle = ""
searchTable.title = ""
suggestionsPopup.close()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment