diff --git a/mapeditor/templateeditor/townhintselector.cpp b/mapeditor/templateeditor/townhintselector.cpp index 55519a770..b5848ffec 100644 --- a/mapeditor/templateeditor/townhintselector.cpp +++ b/mapeditor/templateeditor/townhintselector.cpp @@ -65,7 +65,7 @@ TownHintSelector::TownHintSelector(std::vector & t std::map values = { { LIKE_ZONE, tr("Like Zone") }, - { NOT_LIKE_ZONE, tr("Not like zone (comma seperated)") }, + { NOT_LIKE_ZONE, tr("Not like zone (comma separated)") }, { RELATED_TO_ZONE_TERRAIN, tr("Related to zone terrain") } }; @@ -135,7 +135,7 @@ TownHintSelector::TownHintSelector(std::vector & t ui->tableWidgetTownHints->resizeColumnsToContents(); ui->tableWidgetTownHints->setColumnWidth(0, 300); - ui->tableWidgetTownHints->setColumnWidth(1, 100); + ui->tableWidgetTownHints->setColumnWidth(1, 150); show(); } @@ -169,6 +169,7 @@ void TownHintSelector::on_buttonBoxResult_accepted() hint.relatedToZoneTerrain = values.at(0); break; } + townHints.push_back(hint); } close(); diff --git a/mapeditor/templateeditor/townhintselector.ui b/mapeditor/templateeditor/townhintselector.ui index 4886f2c96..1312e49f6 100644 --- a/mapeditor/templateeditor/townhintselector.ui +++ b/mapeditor/templateeditor/townhintselector.ui @@ -6,7 +6,7 @@ 0 0 - 550 + 600 329