Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Commit

Permalink
No longer updates folders that are not shown when changes in filesyst…
Browse files Browse the repository at this point in the history
…em is detected
  • Loading branch information
eidheim committed Nov 21, 2017
1 parent 5611259 commit d4dda4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/directories.cc
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ void Directories::add_or_update_path(const boost::filesystem::path &dir_path, co
repository->clear_saved_status();
connection->disconnect();
*connection=Glib::signal_timeout().connect([path_and_row, this]() {
if(filesystem::file_in_path(path_and_row->first, path))
if(directories.find(path_and_row->first.string())!=directories.end())
add_or_update_path(path_and_row->first, path_and_row->second, true);
return false;
}, 500);
Expand Down

0 comments on commit d4dda4a

Please sign in to comment.