Exit select mode on delete_selection

This commit is contained in:
Blaž Hrastnik 2021-06-04 10:30:18 +09:00
parent 43b92b24d2
commit 8afd4e1bc2

View File

@ -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) {