If there is a any none files, we do not show the dialog saying that all
files have been removed. If a directory contiains ignored files, we still
want to show this message box even if the directory will not be deleted
dir = SyncFileItem::None;
} else {
// No need to do anything.
- if (file->other.instruction == CSYNC_INSTRUCTION_NONE) {
+ if (file->other.instruction == CSYNC_INSTRUCTION_NONE
+ // Directories with ignored files does not count as 'None'
+ && (file->type != CSYNC_FTW_TYPE_DIR || !file->has_ignored_files)) {
_hasNoneFiles = true;
}