浏览代码

Fix: The path in the action bar is wrong after deleteing a file and changing the orientation

masensio 11 年之前
父节点
当前提交
f0ea0b3dc6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/com/owncloud/android/ui/activity/FileDisplayActivity.java

+ 1 - 1
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();