diff --git a/service.cpp b/service.cpp index 641e386fe..c54206d10 100644 --- a/service.cpp +++ b/service.cpp @@ -223,7 +223,7 @@ void Service::setOperationEnabled(const QString &operation, bool enable) if (enable) { d->disabledOperations.remove(operation); - } else if (!d->disabledOperations.contains(operation)) { + } else { d->disabledOperations.insert(operation); }