summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorMohamed Zenadi <mohamed@zenadi.com>2015-03-17 19:05:12 +0100
committerMohamed Zenadi <mohamed@zenadi.com>2015-03-17 19:10:19 +0100
commitb691c4c98cbd05d6d04eb668867c3bfcc31cbe4b (patch)
tree9c1683c320fbe0a4311ac948f2c69b4109918015 /app/src/main/java
parent901a72b3f8c7f13544c7e886c50a3b26dd0e561c (diff)
return the root directory if we have nothing in the fragment stack
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/PasswordStore.java2
1 files changed, 1 insertions, 1 deletions
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,