diff options
author | lado <herrlado@gmail.com> | 2013-02-14 23:34:59 +0100 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2013-02-14 23:34:59 +0100 |
commit | f5ecd266bd8d7704405336dfb9908b23979b3c67 (patch) | |
tree | fdb5832ef79853183e0b67a84687dc5c40cf3fdb /vdrmanager/src/de | |
parent | 30914fae7c64fdb299ab791c2e2931d68fc5ef41 (diff) | |
download | vdr-manager-f5ecd266bd8d7704405336dfb9908b23979b3c67.tar.gz vdr-manager-f5ecd266bd8d7704405336dfb9908b23979b3c67.tar.bz2 |
Feature #864
Diffstat (limited to 'vdrmanager/src/de')
-rw-r--r-- | vdrmanager/src/de/bjusystems/vdrmanager/gui/VdrListActivity.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/VdrListActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/VdrListActivity.java index 87c9439..85dbe8f 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/VdrListActivity.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/VdrListActivity.java @@ -110,7 +110,7 @@ public class VdrListActivity extends ListActivity } Vdr vdr = getItem(position); - String name = vdr.getName(); + String name = (vdr.getName() != null ? vdr.getName() : ""); String host = vdr.getHost(); holder.text2.setText(host); @@ -164,7 +164,7 @@ public class VdrListActivity extends ListActivity /* * (non-Javadoc) - * + * * @see * android.widget.AdapterView.OnItemClickListener#onItemClick(android.widget * .AdapterView, android.view.View, int, long) @@ -176,7 +176,7 @@ public class VdrListActivity extends ListActivity /** * Start {@link VdrPreferencesActivity} to create or edit a vdr - * + * * @param id * may be null. Then a new vdr is created */ @@ -188,7 +188,7 @@ public class VdrListActivity extends ListActivity /* * (non-Javadoc) - * + * * @see android.app.Activity#onActivityResult(int, int, * android.content.Intent) */ |