diff --git a/src/properties/peerlistwidget.cpp b/src/properties/peerlistwidget.cpp index 5b4f228ce..25af2b2e7 100644 --- a/src/properties/peerlistwidget.cpp +++ b/src/properties/peerlistwidget.cpp @@ -74,7 +74,19 @@ PeerListWidget::PeerListWidget(PropertiesWidget *parent): m_proxyModel->setDynamicSortFilter(true); m_proxyModel->setSourceModel(m_listModel); setModel(m_proxyModel); + //Explicitly set the column visibility. When columns are added/removed + //between versions this prevents some of them being hidden due to + //incorrect restoreState() being used. + for (unsigned int i=0; i