Exit select mode on delete_selection

imgbot
Blaž Hrastnik 4 years ago
parent 43b92b24d2
commit 8afd4e1bc2

@ -771,6 +771,9 @@ pub fn delete_selection(cx: &mut Context) {
_delete_selection(doc, view.id); _delete_selection(doc, view.id);
doc.append_changes_to_history(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) { pub fn change_selection(cx: &mut Context) {

Loading…
Cancel
Save