fixed bugs, added extra display_type

actorid
Marek Kochanowicz 11 years ago
parent 7dff34ebf1
commit 1c35a85adf

@ -26,6 +26,7 @@ namespace CSMWorld
enum Display
{
Display_None, //Do not use
Display_String,
//CONCRETE TYPES STARTS HERE

@ -441,7 +441,6 @@ CSMWorld::ColumnBase::Display CSMWorld::TableMimeData::convertEnums (CSMWorld::U
default:
return CSMWorld::ColumnBase::Display_String;
return CSMWorld::ColumnBase::Display_None;
}
}

@ -130,7 +130,7 @@ void CSVFilter::EditWidget::createFilterRequest (std::vector< std::pair< std::st
clear();
std::stringstream ss;
if (multipleElements) //TODO appending to the existing filter
if (multipleElements)
{
if (replaceMode)
{
@ -169,7 +169,10 @@ void CSVFilter::EditWidget::createFilterRequest (std::vector< std::pair< std::st
ss<<')';
}
insert (QString::fromStdString (ss.str().c_str()));
if (ss.str().length() >4)
{
insert (QString::fromStdString (ss.str().c_str()));
}
}
}

Loading…
Cancel
Save