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

This commit is contained in:
masensio 2014-05-15 15:17:43 +02:00
parent 3fb28ceae4
commit f0ea0b3dc6

View 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();