Fix #908
This commit is contained in:
parent
03f3a4805f
commit
0b85760939
@ -331,6 +331,11 @@ open class CatalogueController(bundle: Bundle? = null) :
|
|||||||
if (query == newQuery)
|
if (query == newQuery)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
// FIXME dirty fix to restore the toolbar buttons after closing search mode.
|
||||||
|
if (newQuery == "") {
|
||||||
|
activity?.invalidateOptionsMenu()
|
||||||
|
}
|
||||||
|
|
||||||
showProgressBar()
|
showProgressBar()
|
||||||
adapter?.clear()
|
adapter?.clear()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user