summaryrefslogtreecommitdiff
path: root/src/gui/setup_relations.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 01:21:22 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commit312118f5a7a1a7537cfb20f61d9b408dfcf03e8c (patch)
tree5339e8d288dd5db148e1d55493ac2f86fdfa617a /src/gui/setup_relations.cpp
parent230e3d909340a3fb501ab1e67ae95a86eb58e2aa (diff)
downloadmanaplus-312118f5a7a1a7537cfb20f61d9b408dfcf03e8c.tar.gz
manaplus-312118f5a7a1a7537cfb20f61d9b408dfcf03e8c.tar.bz2
manaplus-312118f5a7a1a7537cfb20f61d9b408dfcf03e8c.tar.xz
manaplus-312118f5a7a1a7537cfb20f61d9b408dfcf03e8c.zip
Add palette inheritance to guitable class.
Diffstat (limited to 'src/gui/setup_relations.cpp')
-rw-r--r--src/gui/setup_relations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/setup_relations.cpp b/src/gui/setup_relations.cpp
index 74a440434..97d962f2a 100644
--- a/src/gui/setup_relations.cpp
+++ b/src/gui/setup_relations.cpp
@@ -241,7 +241,7 @@ Setup_Relations::Setup_Relations(const Widget2 *const widget) :
mPlayerTableTitleModel(new StaticTableModel(1, COLUMNS_NR)),
mPlayerTableModel(new PlayerTableModel(this)),
mPlayerTable(new GuiTable(mPlayerTableModel)),
- mPlayerTitleTable(new GuiTable(mPlayerTableTitleModel)),
+ mPlayerTitleTable(new GuiTable(this, mPlayerTableTitleModel)),
mPlayerScrollArea(new ScrollArea(mPlayerTable)),
mDefaultTrading(new CheckBox(this, _("Allow trading"),
player_relations.getDefault() & PlayerRelation::TRADE)),