Proper handling of select by shift

This commit is contained in:
Jeremy Soller 2024-02-29 15:21:59 -07:00
parent a1558b20c6
commit f0956f494a
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
2 changed files with 93 additions and 94 deletions

View file

@ -447,7 +447,7 @@ impl Application for App {
}
Message::Filename(new_filename) => {
// Select based on filename
self.tab.select_by_name(&new_filename);
self.tab.select_name(&new_filename);
if let DialogKind::SaveFile { filename } = &mut self.flags.kind {
*filename = new_filename;