@ -426,6 +426,7 @@ void Directories::open(const boost::filesystem::path &dir_path) {
pos + = 2 ;
}
get_column ( 0 ) - > set_title ( title ) ;
Window : : get ( ) . set_title ( path ) ;
for ( auto & directory : directories ) {
if ( directory . second . repository )
@ -434,7 +435,6 @@ void Directories::open(const boost::filesystem::path &dir_path) {
directories . clear ( ) ;
add_or_update_path ( path , Gtk : : TreeModel : : Row ( ) , true ) ;
Window : : get ( ) . set_title ( path ) ;
if ( auto view = Notebook : : get ( ) . get_current_view ( ) )
view - > update_status_file_path ( view ) ;
@ -447,6 +447,7 @@ void Directories::close(const boost::filesystem::path &dir_path) {
tree_store - > clear ( ) ;
path . clear ( ) ;
get_column ( 0 ) - > set_title ( " " ) ;
Window : : get ( ) . set_title ( ) ;
}
else
remove_path ( dir_path ) ;