fn ui_submit_tagdir(siv: &mut Cursive, p: &str) {
    do_app(siv, |_, state| {
        state.tags_path = PathBuf::from(p);
        scan_tags(state, None, p);
    });
    siv.pop_layer();
    ui_build_main(siv);
}
/// UI callback for tags dir path dialog
UI callback for tags dir path dialog
UI callback for tags dir path dialog
fn ui_submit_tagdir(siv: &mut Cursive, p: &str) {
    do_app(siv, |_, state| {
        state.tags_path = PathBuf::from(p);
        scan_tags(state, None, p);
    });
    siv.pop_layer();
    ui_build_main(siv);
}
fn ui_submit_tagdir ( siv : & mut Cursive , p : & str ) { do_app ( siv , | _ , state | { state . tags_path = PathBuf :: from ( p ) ; scan_tags ( state , None , p ) ; } ) ; siv . pop_layer ( ) ; ui_build_main ( siv ) ; }
UI callback for tags dir path dialog
UI callback for tags dir path dialog
siv
&mut Cursive
p
&str