diff options
Diffstat (limited to 'lib/lock_holder.h')
-rw-r--r-- | lib/lock_holder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/lock_holder.h b/lib/lock_holder.h index d94b0fd6..6265747b 100644 --- a/lib/lock_holder.h +++ b/lib/lock_holder.h @@ -40,6 +40,8 @@ public: try { + //lock file creation is synchronous and may block noticably for very slow devices (usb sticks, mapped cloud storages) + procCallback.forceUiRefresh(); //=> make sure the right folder name is shown on GUI during this time! lockHolder.insert(std::make_pair(dirnameFmt, DirLock(dirnameFmt + Zstr("sync") + LOCK_FILE_ENDING, &callback))); } catch (const FileError& e) |