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

Commit d4dda4a

Browse files
committed
No longer updates folders that are not shown when changes in filesystem is detected
1 parent 5611259 commit d4dda4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/directories.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ void Directories::add_or_update_path(const boost::filesystem::path &dir_path, co
535535
repository->clear_saved_status();
536536
connection->disconnect();
537537
*connection=Glib::signal_timeout().connect([path_and_row, this]() {
538-
if(filesystem::file_in_path(path_and_row->first, path))
538+
if(directories.find(path_and_row->first.string())!=directories.end())
539539
add_or_update_path(path_and_row->first, path_and_row->second, true);
540540
return false;
541541
}, 500);

0 commit comments

Comments
 (0)