Keep editor from switching to normal mode when loading a Document (#11176)

pull/7109/merge
FlorianNAdam 4 months ago committed by GitHub
parent 702a96d417
commit 6345b78409
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1544,7 +1544,9 @@ impl Editor {
return; return;
} }
self.enter_normal_mode(); if !matches!(action, Action::Load) {
self.enter_normal_mode();
}
match action { match action {
Action::Replace => { Action::Replace => {

Loading…
Cancel
Save