Fix expanding networks in Chat Monitor settings
authorShane Synan <digitalcircuit36939@gmail.com>
Sat, 14 Jan 2017 20:54:53 +0000 (14:54 -0600)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 13 Apr 2017 20:05:51 +0000 (22:05 +0200)
commitefee441a243efb88929e1e275d71ee27991bf074
treef1c14b6bbf46dc885c3fc133de9f2922c201bb94
parentb962956cd82ba1900cc6d3390b691b90401bc1b4
Fix expanding networks in Chat Monitor settings

Update the network expanded/collapsed state when setting a model,
including filtered models.

This fixes the Chat Monitor settings page not updating the expanded
and collapsed networks on first load.  It might be excessive to apply
on every model change; if performance issues arise, it can be moved
to BufferView::setFilteredModel() or elsewhere.

Add comments!

Resolves GH-271.
src/uisupport/bufferview.cpp
src/uisupport/bufferview.h