diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-08 00:44:12 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-08 00:51:30 +0200 |
commit | aefbc69aac9f7c793725153eefce2631555bfd1f (patch) | |
tree | dc43d7d5cb5cf84373ee43a02998349d1deb3e0c /src/gui/setup_players.cpp | |
parent | 3b229e19c2b7545a71a066383872acd5d9348e41 (diff) | |
download | mana-aefbc69aac9f7c793725153eefce2631555bfd1f.tar.gz mana-aefbc69aac9f7c793725153eefce2631555bfd1f.tar.bz2 mana-aefbc69aac9f7c793725153eefce2631555bfd1f.tar.xz mana-aefbc69aac9f7c793725153eefce2631555bfd1f.zip |
Associated setup tab name with the tab itself
Keeps things together in the right place and allowed writing a bit more
generic code in the Setup class.
Diffstat (limited to 'src/gui/setup_players.cpp')
-rw-r--r-- | src/gui/setup_players.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/setup_players.cpp b/src/gui/setup_players.cpp index 3f3ea446..8925016b 100644 --- a/src/gui/setup_players.cpp +++ b/src/gui/setup_players.cpp @@ -232,7 +232,8 @@ Setup_Players::Setup_Players(): player_relations.getDefault() & PlayerRelation::WHISPER)), mDeleteButton(new Button(_("Delete"), ACTION_DELETE, this)) { - setOpaque(false); + setName(_("Players")); + mPlayerTable->setOpaque(false); mPlayerTableTitleModel->fixColumnWidth(NAME_COLUMN, NAME_COLUMN_WIDTH); |