1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-01 01:15:33 +00:00

fixed bugs, added extra display_type

This commit is contained in:
Marek Kochanowicz 2014-02-20 19:27:51 +01:00
parent 7dff34ebf1
commit 1c35a85adf
3 changed files with 7 additions and 4 deletions

View file

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

View file

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

View file

@ -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()));
}
}
}