Notifications: Fix creation of notification

For #2728
This commit is contained in:
Markus Goetz 2015-02-05 16:46:06 +01:00
parent 3169a6f170
commit 71e22ffe2c

View File

@ -373,7 +373,7 @@ void Folder::bubbleUpSyncResult()
FolderMan::instance()->removeMonitorPath( alias(), path()+item._file );
}
if (!item.hasErrorStatus() && item._direction == SyncFileItem::Down) {
if (!item.hasErrorStatus() && item._direction != SyncFileItem::None) {
switch (item._instruction) {
case CSYNC_INSTRUCTION_NEW:
newItems++;