From 3864dc5d7cd5c6f7dd84c439351bae967125f77a Mon Sep 17 00:00:00 2001 From: lado Date: Fri, 20 Jan 2012 17:34:41 +0100 Subject: fix npe --- vdrmanager/src/de/bjusystems/vdrmanager/gui/RecordingListActivity.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/RecordingListActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/RecordingListActivity.java index 3bbb5eb..31cc4fa 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/RecordingListActivity.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/RecordingListActivity.java @@ -85,6 +85,9 @@ public class RecordingListActivity extends BaseEventListActivity // set menu title final EventListItem item = adapter.getItem(info.position); + if(item.isHeader()){ + return; + } final EventFormatter formatter = new EventFormatter(item); menu.setHeaderTitle(formatter.getTitle()); -- cgit v1.2.3