Skip to content
Snippets Groups Projects
Commit 917a8308 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

BUG: fixing mantis #1024

parent 561d7d34
No related branches found
No related tags found
No related merge requests found
......@@ -57,13 +57,20 @@ public:
m_Value.clear();
for(unsigned int i=0; i<sList.size(); i++)
{
m_Value.push_back(sList[i]);
this->AddString(sList[i]);
}
}
void AddString(std::string value)
{
m_Value.push_back(value);
if(!value.empty())
{
m_Value.push_back(value);
if(!this->GetActive())
{
this->SetActive(true);
}
}
}
/** Get the value */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment