Fixed show/hide all in bookmarks

This commit is contained in:
r.kuznetsov 2018-04-19 14:08:03 +03:00 committed by Aleksandr Zatsepin
parent 73b978d62e
commit 87389f3efe

View file

@ -1579,6 +1579,7 @@ bool BookmarkManager::AreAllCategoriesInvisible() const
void BookmarkManager::SetAllCategoriesVisibility(bool visible)
{
CHECK_THREAD_CHECKER(m_threadChecker, ());
auto session = GetEditSession();
for (auto & c : m_categories)
c.second->SetIsVisible(visible);
}