diff --git a/src/widget/contentdialog.cpp b/src/widget/contentdialog.cpp index fc6ed76b6..b54e3856c 100644 --- a/src/widget/contentdialog.cpp +++ b/src/widget/contentdialog.cpp @@ -345,7 +345,7 @@ void ContentDialog::cycleContacts(bool forward, bool inverse) bool isCurGroup = currentLayout == groupLayout.getLayout(); bool nextIsEmpty = (isCurOnline && offlineEmpty && (groupsEmpty || groupsOnTop)) || (isCurGroup && offlineEmpty && (onlineEmpty || !groupsOnTop)) - || isCurOffline; + || (isCurOffline); if (nextIsEmpty) { forward = !forward;