Fixed a hang in last patch (sorry)

This commit is contained in:
Oliver Duis 2011-07-03 23:03:34 +02:00
parent ae3d85337c
commit a24cba937d

View File

@ -755,7 +755,7 @@ void FileBrowser::applyFilter (const BrowserFilter& filter) {
{
// TODO: Check for Linux
#ifdef WIN32
Glib::RWLock::WriterLock l(entryRW);
Glib::RWLock::ReaderLock l(entryRW); // Don't make this a writer lock!
#endif
for (int i=0; i<fd.size(); i++) {