summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-03-15 14:08:14 -0600
committerIra Rice <irarice@gmail.com>2009-03-15 14:08:14 -0600
commit94495012ea5919cddaf47e7a7818fd8ba4e76708 (patch)
tree94e785051f42c3b8127bc2dab622b24e15ca4715 /src/gui
parenta9b1eccdd2c719f86475c6ce01d4b8eea7dede6c (diff)
downloadmana-94495012ea5919cddaf47e7a7818fd8ba4e76708.tar.gz
mana-94495012ea5919cddaf47e7a7818fd8ba4e76708.tar.bz2
mana-94495012ea5919cddaf47e7a7818fd8ba4e76708.tar.xz
mana-94495012ea5919cddaf47e7a7818fd8ba4e76708.zip
Fixed BuySell dialog to remember its position. For proper configuration
saving, this needed a window name set. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/buysell.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/buysell.cpp b/src/gui/buysell.cpp
index 4ac06220..64ffdc3f 100644
--- a/src/gui/buysell.cpp
+++ b/src/gui/buysell.cpp
@@ -33,6 +33,7 @@
BuySellDialog::BuySellDialog(Network *network):
Window(_("Shop")), mNetwork(network)
{
+ setWindowName("BuySell");
Button *buyButton = 0;
static const char *buttonNames[] = {
N_("Buy"), N_("Sell"), N_("Cancel"), 0