You'd expect that after a conflict resolution the file watcher would
pick up the change and trigger a sync. For some reason it doesn't seem
to happen on at least some Ubuntu systems. In such cases the user would
then still have a stale conflict entry in the activity list and wouldn't
be able to do anything with it.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
dialog.setBaseFilename(baseName);
dialog.setLocalVersionFilename(conflictedPath);
dialog.setRemoteVersionFilename(basePath);
- dialog.exec();
+ if (dialog.exec() == ConflictDialog::Accepted) {
+ fileData.folder->scheduleThisFolderSoon();
+ }
#endif
}
dialog.setBaseFilename(baseName);
dialog.setLocalVersionFilename(conflictedPath);
dialog.setRemoteVersionFilename(basePath);
- dialog.exec();
+ if (dialog.exec() == ConflictDialog::Accepted) {
+ folder->scheduleThisFolderSoon();
+ }
return;
}