fix missing index update after backup operation

This commit is contained in:
sonora 2015-01-31 23:05:56 +01:00
parent 9e94f8fbd7
commit d289fa90d9

View file

@ -391,7 +391,7 @@ public class LocalIndexesFragment extends OsmandExpandableListFragment {
protected void onPostExecute(String result) {
getDownloadActivity().setProgressBarIndeterminateVisibility(false);
AccessibleToast.makeText(getDownloadActivity(), result, Toast.LENGTH_LONG).show();
if (operation == RESTORE_OPERATION){
if (operation == RESTORE_OPERATION || operation == BACKUP_OPERATION){
listAdapter.clear();
reloadIndexes();
}