diff --git a/src/appdata/plugin/app-letter-sort-plugin.cpp b/src/appdata/plugin/app-letter-sort-plugin.cpp index ccc8c36..ad0f739 100644 --- a/src/appdata/plugin/app-letter-sort-plugin.cpp +++ b/src/appdata/plugin/app-letter-sort-plugin.cpp @@ -154,7 +154,7 @@ void AppLetterSortPlugin::sortAppData(QList &apps) void AppLetterSortPlugin::addAppToLabel(const QString &labelName, QVector &apps) { LabelItem labelItem; - labelItem.setDisable(!apps.isEmpty()); + labelItem.setDisable(apps.isEmpty()); labelItem.setIndex(m_labels.size()); labelItem.setId(labelName); labelItem.setDisplayName(labelName);