Fix: The path in the action bar is wrong after deleteing a file and changing the...
authormasensio <masensio@solidgear.es>
Thu, 15 May 2014 13:17:43 +0000 (15:17 +0200)
committermasensio <masensio@solidgear.es>
Thu, 15 May 2014 13:17:43 +0000 (15:17 +0200)
src/com/owncloud/android/ui/activity/FileDisplayActivity.java

index 0ccc3b5..f222f36 100644 (file)
@@ -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();