diff --git a/app/src/main/java/com/amaze/filemanager/activities/TextEditorActivity.java b/app/src/main/java/com/amaze/filemanager/activities/TextEditorActivity.java index 594757dba3..eacc6d84de 100644 --- a/app/src/main/java/com/amaze/filemanager/activities/TextEditorActivity.java +++ b/app/src/main/java/com/amaze/filemanager/activities/TextEditorActivity.java @@ -193,6 +193,7 @@ else if (getAppTheme().equals(AppTheme.BLACK)) } else { Toast.makeText(this, R.string.no_file_error, Toast.LENGTH_LONG).show(); finish(); + return; } getSupportActionBar().setTitle(mFile.name);