Fixed crash issue when clearing behaviour list
This commit is contained in:
parent
e18c09b39d
commit
55f983c773
2 changed files with 3 additions and 0 deletions
|
|
@ -78,6 +78,7 @@ public class EditActivity extends ListActivity implements AdapterView.OnItemClic
|
|||
}
|
||||
else if (id == R.id.action_clear) {
|
||||
executor.getBehaviourList().clear();
|
||||
adapter.generateIds();
|
||||
adapter.notifyDataSetChanged();
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue