Change width of columns in search tab. Closes #764

This commit is contained in:
ngosang
2015-02-12 17:23:24 +01:00
committed by sledgehammer999
parent bded737c3c
commit 49cce9b2fc
3 changed files with 14 additions and 36 deletions

View File

@@ -110,7 +110,7 @@ bool SearchTab::loadColWidthResultsList() {
if (line.isEmpty())
return false;
QStringList width_list = line.split(' ');
if (width_list.size() < SearchListModel->columnCount())
if (width_list.size() > SearchListModel->columnCount())
return false;
unsigned int listSize = width_list.size();
for (unsigned int i=0; i<listSize; ++i) {