From b691c4c98cbd05d6d04eb668867c3bfcc31cbe4b Mon Sep 17 00:00:00 2001 From: Mohamed Zenadi Date: Tue, 17 Mar 2015 19:05:12 +0100 Subject: return the root directory if we have nothing in the fragment stack --- app/src/main/java/com/zeapo/pwdstore/PasswordStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main/java') diff --git a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java index e979baf5..13ae41ae 100644 --- a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java +++ b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java @@ -407,7 +407,7 @@ public class PasswordStore extends ActionBarActivity { if ((null != plist)) { return plist.getCurrentDir(); } - return null; + return PasswordRepository.getWorkTree(); } protected void onActivityResult(int requestCode, int resultCode, -- cgit v1.2.3