diff options
-rw-r--r-- | vdrmanager/src/de/bjusystems/vdrmanager/gui/VdrListActivity.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/VdrListActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/VdrListActivity.java index 0ce3d63..8f8d67d 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/VdrListActivity.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/VdrListActivity.java @@ -128,6 +128,10 @@ public class VdrListActivity extends OrmLiteBaseListActivity<OrmDatabaseHelper> @Override public void onBackPressed() { + if(cursor.getCount() == 0){ + finish(); + return; + } Preferences.init(this); if (emptyConfig) { Intent intent = new Intent(this, VdrManagerActivity.class); |