From c78ac391a0406f6b2b1a488d6c49f6383da93594 Mon Sep 17 00:00:00 2001 From: cc9cii Date: Sat, 6 Sep 2014 20:24:34 +1000 Subject: [PATCH] Made the Region field for Cell record in dialogue subview editable but not sure if this is the wanted behaviour. Also removed a duplicate UniversalId::Type_Class mappin in tablemimedata.cpp. --- apps/opencs/model/world/tablemimedata.cpp | 1 - apps/opencs/view/world/util.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/opencs/model/world/tablemimedata.cpp b/apps/opencs/model/world/tablemimedata.cpp index f3b0e3761..664930706 100644 --- a/apps/opencs/model/world/tablemimedata.cpp +++ b/apps/opencs/model/world/tablemimedata.cpp @@ -222,7 +222,6 @@ namespace { CSMWorld::UniversalId::Type_Race, CSMWorld::ColumnBase::Display_Race }, { CSMWorld::UniversalId::Type_Skill, CSMWorld::ColumnBase::Display_Skill }, { CSMWorld::UniversalId::Type_Class, CSMWorld::ColumnBase::Display_Class }, - { CSMWorld::UniversalId::Type_Class, CSMWorld::ColumnBase::Display_Class }, { CSMWorld::UniversalId::Type_Faction, CSMWorld::ColumnBase::Display_Faction }, { CSMWorld::UniversalId::Type_Sound, CSMWorld::ColumnBase::Display_Sound }, { CSMWorld::UniversalId::Type_Region, CSMWorld::ColumnBase::Display_Region }, diff --git a/apps/opencs/view/world/util.cpp b/apps/opencs/view/world/util.cpp index 8987c90a0..8e7c0a9a2 100644 --- a/apps/opencs/view/world/util.cpp +++ b/apps/opencs/view/world/util.cpp @@ -173,6 +173,7 @@ QWidget *CSVWorld::CommandDelegate::createEditor (QWidget *parent, const QStyleO case CSMWorld::ColumnBase::Display_Skill: case CSMWorld::ColumnBase::Display_Script: case CSMWorld::ColumnBase::Display_Race: + case CSMWorld::ColumnBase::Display_Region: case CSMWorld::ColumnBase::Display_Class: case CSMWorld::ColumnBase::Display_Faction: case CSMWorld::ColumnBase::Display_Miscellaneous: