Exit select mode on delete_selection
This commit is contained in:
parent
43b92b24d2
commit
8afd4e1bc2
1 changed files with 3 additions and 0 deletions
|
@ -771,6 +771,9 @@ pub fn delete_selection(cx: &mut Context) {
|
|||
_delete_selection(doc, view.id);
|
||||
|
||||
doc.append_changes_to_history(view.id);
|
||||
|
||||
// exit select mode, if currently in select mode
|
||||
exit_select_mode(cx);
|
||||
}
|
||||
|
||||
pub fn change_selection(cx: &mut Context) {
|
||||
|
|
Loading…
Reference in a new issue