summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2012-01-20 17:34:41 +0100
committerlado <herrlado@gmail.com>2012-01-20 17:34:41 +0100
commit3864dc5d7cd5c6f7dd84c439351bae967125f77a (patch)
treec04d06dedb3f2f7bd58e6ede33185d2244376e8c
parent116a52618813527384d98076bcad0874233a5260 (diff)
downloadvdr-manager-3864dc5d7cd5c6f7dd84c439351bae967125f77a.tar.gz
vdr-manager-3864dc5d7cd5c6f7dd84c439351bae967125f77a.tar.bz2
fix npe
-rw-r--r--vdrmanager/src/de/bjusystems/vdrmanager/gui/RecordingListActivity.java3
1 files changed, 3 insertions, 0 deletions
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<Recording>
// set menu title
final EventListItem item = adapter.getItem(info.position);
+ if(item.isHeader()){
+ return;
+ }
final EventFormatter formatter = new EventFormatter(item);
menu.setHeaderTitle(formatter.getTitle());