Commit 0d150499 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Simplify boolean expression

parent 0aaa53db
......@@ -1629,10 +1629,7 @@ bool SessionController::isReadOnly() const
bool SessionController::isCopyInputActive() const
{
if ((_copyToGroup != nullptr) && _copyToGroup->sessions().count() > 1) {
return true;
}
return false;
return ((_copyToGroup != nullptr) && _copyToGroup->sessions().count() > 1);
}
void SessionController::sessionAttributeChanged()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment