Commit 15708fb7 authored by Michael Carpenter's avatar Michael Carpenter

Fix for QuickView being unable to add items. Bug introduced with the new multi-column changes

parent 6733692c
...@@ -143,6 +143,8 @@ void UASQuickView::valueEnabled(QString value) ...@@ -143,6 +143,8 @@ void UASQuickView::valueEnabled(QString value)
uasPropertyValueMap[value] = 0; uasPropertyValueMap[value] = 0;
} }
saveSettings(); saveSettings();
item->show();
sortItems(m_columnCount);
} }
void UASQuickView::sortItems(int columncount) void UASQuickView::sortItems(int columncount)
...@@ -165,7 +167,7 @@ void UASQuickView::sortItems(int columncount) ...@@ -165,7 +167,7 @@ void UASQuickView::sortItems(int columncount)
//Create a vertical layout for every intended column //Create a vertical layout for every intended column
for (int i=0;i<columncount;i++) for (int i=0;i<columncount;i++)
{ {
QVBoxLayout *layout = new QVBoxLayout(this); QVBoxLayout *layout = new QVBoxLayout();
ui.horizontalLayout->addItem(layout); ui.horizontalLayout->addItem(layout);
m_verticalLayoutList.append(layout); m_verticalLayoutList.append(layout);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment