Commit 12c502b8 authored by Johannes Junggeburth's avatar Johannes Junggeburth
Browse files

Swapped empty and isUserConfigured check

parent e36ffe20
......@@ -1133,14 +1133,11 @@ namespace asg
return detail::AnaToolHandleMode::USER;
#endif
if (m_config.empty() && m_name.empty())
return detail::AnaToolHandleMode::EMPTY;
if (!m_handleUser->typeAndName().empty() && (m_handleUser->type() != this->type() || m_handleUser->name() != this->name()))
return detail::AnaToolHandleMode::USER;
if (m_config.empty() && m_name.empty())
return detail::AnaToolHandleMode::EMPTY;
if (isPublic())
return detail::AnaToolHandleMode::CREATE_SHARED;
......
Supports Markdown
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