Skip to content

Commit

Permalink
Fix bug: close others tab and set current file
Browse files Browse the repository at this point in the history
  • Loading branch information
Deenu488 authored May 11, 2024
1 parent ff7272b commit 3ed75ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ class EditorFragment : BaseBindingFragment<FragmentEditorBinding>() {
R.id.close_all_tab -> fileViewModel.removeAll()
R.id.close_left_tab -> fileViewModel.removeLeft(pos - 1)
R.id.close_right_tab -> fileViewModel.removeRight(pos + 1)
R.id.close_other_tab -> fileViewModel.removeOthers(fileViewModel.files.value!![pos])
R.id.close_other_tab -> fileViewModel.removeOthers(fileViewModel.files.value!![position])
}
true
}
Expand Down

0 comments on commit 3ed75ae

Please sign in to comment.