Disable redraw when removing items from TreeView.

This commit is contained in:
Jean-Philip Desjardins 2017-04-12 09:44:04 -04:00
parent 8f23774261
commit 6f7d4f155d

View File

@ -40,7 +40,9 @@ void CGsPacketListView::SetFrameDump(CFrameDump* frameDump)
m_frameDump = frameDump;
m_packetsTreeView->SetSelection(NULL);
m_packetsTreeView->SetRedraw(FALSE);
m_packetsTreeView->DeleteAllItems();
m_packetsTreeView->SetRedraw(TRUE);
m_packetInfos.clear();
m_writeInfos.clear();