Skip to content

Commit

Permalink
qmlui: clear folder/function selection on function filter change
Browse files Browse the repository at this point in the history
  • Loading branch information
mcallegari committed Nov 23, 2018
1 parent 91820a5 commit 1799561
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions qmlui/functionmanager.cpp
Expand Up @@ -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());
}
Expand Down Expand Up @@ -439,6 +442,7 @@ void FunctionManager::clearTree()
{
setPreview(false);
m_selectedIDList.clear();
m_selectedFolderList.clear();
m_functionTree->clear();
}

Expand Down

0 comments on commit 1799561

Please sign in to comment.