Fix #908
This commit is contained in:
parent
03f3a4805f
commit
0b85760939
1 changed files with 5 additions and 0 deletions
|
@ -331,6 +331,11 @@ open class CatalogueController(bundle: Bundle? = null) :
|
|||
if (query == newQuery)
|
||||
return
|
||||
|
||||
// FIXME dirty fix to restore the toolbar buttons after closing search mode.
|
||||
if (newQuery == "") {
|
||||
activity?.invalidateOptionsMenu()
|
||||
}
|
||||
|
||||
showProgressBar()
|
||||
adapter?.clear()
|
||||
|
||||
|
|
Reference in a new issue