From: masensio Date: Thu, 15 May 2014 13:17:43 +0000 (+0200) Subject: Fix: The path in the action bar is wrong after deleteing a file and changing the... X-Git-Tag: oc-android-1.7.0_signed~309^2~22 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/f0ea0b3dc638740eacfcd10db99781c23258d12f?hp=-c Fix: The path in the action bar is wrong after deleteing a file and changing the orientation --- f0ea0b3dc638740eacfcd10db99781c23258d12f diff --git a/src/com/owncloud/android/ui/activity/FileDisplayActivity.java b/src/com/owncloud/android/ui/activity/FileDisplayActivity.java index 0ccc3b5d..f222f36f 100644 --- a/src/com/owncloud/android/ui/activity/FileDisplayActivity.java +++ b/src/com/owncloud/android/ui/activity/FileDisplayActivity.java @@ -1306,7 +1306,7 @@ OnSslUntrustedCertListener, EditNameDialogListener { if (getStorageManager().getFileById(removedFile.getParentId()).equals(getCurrentDir())) { refreshListOfFilesFragment(); } - + invalidateOptionsMenu(); } else { Toast msg = Toast.makeText(this, R.string.remove_fail_msg, Toast.LENGTH_LONG); msg.show();