Commit 888e77ba authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

Check if alias exists

parent 5eb3fc02
......@@ -321,10 +321,10 @@ void Capture::checkFilter(int filterNum)
if (filterName != NULL && (i < filterName->ntp))
item = filterName->tp[i].text;
else if (filterAlias.at(i).isEmpty() == false)
else if (filterAlias.takeAt(i) != NULL && filterAlias.at(i).isEmpty() == false)
item = filterAlias.at(i);
else
item = QString("Filter %1").arg(i+1);
item = QString("Filter_%1").arg(i+1);
FilterPosCombo->addItem(item);
......
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