Fixed adding pieces when icons are disabled.

This commit is contained in:
Leonardo Zide 2017-11-19 17:58:32 -08:00
parent 3a055a4724
commit 3d5587cbd0

View file

@ -540,6 +540,7 @@ void lcPartSelectionListView::UpdateViewMode()
{
setViewMode(mListModel->GetIconSize() && !mListModel->IsListMode() ? QListView::IconMode : QListView::ListMode);
setWordWrap(mListModel->IsListMode());
setDragEnabled(true);
}
void lcPartSelectionListView::SetIconSize(int Size)