Permalink
Browse files

qmlui: clear folder/function selection on function filter change

  • Loading branch information...
mcallegari committed Nov 23, 2018
1 parent 91820a5 commit 1799561696bc3849af12af78b5ea91f1b3691da3
Showing with 4 additions and 0 deletions.
  1. +4 −0 qmlui/functionmanager.cpp
@@ -173,6 +173,9 @@ void FunctionManager::setFunctionFilter(quint32 filter, bool enable)
else
m_filter &= ~filter;
m_selectedFolderList.clear();
m_selectedIDList.clear();
updateFunctionsTree();
emit selectedFunctionCountChanged(m_selectedIDList.count());
}
@@ -439,6 +442,7 @@ void FunctionManager::clearTree()
{
setPreview(false);
m_selectedIDList.clear();
m_selectedFolderList.clear();
m_functionTree->clear();
}

0 comments on commit 1799561

Please sign in to comment.