dialog: order by last modified by default, do not list directories first, part of #335
This commit is contained in:
parent
1490820894
commit
ff6f6c1e3a
1 changed files with 8 additions and 2 deletions
|
|
@ -545,9 +545,15 @@ impl Application for App {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
let mut tab = Tab::new(location, TabConfig::default());
|
let tab_config = TabConfig {
|
||||||
|
view: tab::View::List,
|
||||||
|
folders_first: false,
|
||||||
|
sort_name: tab::HeadingOptions::Modified,
|
||||||
|
sort_direction: false,
|
||||||
|
..Default::default()
|
||||||
|
};
|
||||||
|
let mut tab = Tab::new(location, tab_config);
|
||||||
tab.dialog = Some(flags.kind.clone());
|
tab.dialog = Some(flags.kind.clone());
|
||||||
tab.config.view = tab::View::List;
|
|
||||||
|
|
||||||
let mut app = App {
|
let mut app = App {
|
||||||
core,
|
core,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue