From aadf40739c45c3396ace5766dd9c60db0c3b1ccc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 May 2015 17:45:27 +0300 Subject: Move relation enum into separate file. --- src/gui/models/playertablemodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/models') diff --git a/src/gui/models/playertablemodel.cpp b/src/gui/models/playertablemodel.cpp index f83a67707..4affed712 100644 --- a/src/gui/models/playertablemodel.cpp +++ b/src/gui/models/playertablemodel.cpp @@ -123,7 +123,7 @@ void PlayerTableModel::updateModelInRow(const int row) const const DropDown *const choicebox = static_cast( getElementAt(row, RELATION_CHOICE_COLUMN)); player_relations.setRelation(getPlayerAt(row), - static_cast( + static_cast( choicebox->getSelected())); } -- cgit v1.2.3-60-g2f50