destroy multiselector mode after deleting an event type

This commit is contained in:
tibbi 2017-07-18 19:31:24 +02:00
parent 230b02437d
commit 30c82c6dc7
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ class EventTypeAdapter(val activity: SimpleActivity, val mItems: List<EventType>
private fun deleteEventTypes(deleteEvents: Boolean, ids: ArrayList<Int>) { private fun deleteEventTypes(deleteEvents: Boolean, ids: ArrayList<Int>) {
listener?.deleteEventTypes(ids, deleteEvents) listener?.deleteEventTypes(ids, deleteEvents)
actMode?.finish()
} }
override fun onCreateViewHolder(parent: ViewGroup?, viewType: Int): ViewHolder { override fun onCreateViewHolder(parent: ViewGroup?, viewType: Int): ViewHolder {