summaryrefslogtreecommitdiff
path: root/src/gui/buysell.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-10 09:29:15 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-10 09:29:15 -0600
commit343d290f639646b9a3a90c9402dfc8e76989bdcb (patch)
tree7d98bd322007a7f219153c117c3589ab1dd04bed /src/gui/buysell.cpp
parentcf49b996e41f6e28aa67fb2d6891c1b28e65d520 (diff)
downloadmana-343d290f639646b9a3a90c9402dfc8e76989bdcb.tar.gz
mana-343d290f639646b9a3a90c9402dfc8e76989bdcb.tar.bz2
mana-343d290f639646b9a3a90c9402dfc8e76989bdcb.tar.xz
mana-343d290f639646b9a3a90c9402dfc8e76989bdcb.zip
Don't center the NPC interraction dialogs
Use the last location the user gave instead. Also, do the same for the inventory dialog.
Diffstat (limited to 'src/gui/buysell.cpp')
-rw-r--r--src/gui/buysell.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/buysell.cpp b/src/gui/buysell.cpp
index 818413c2..0550a822 100644
--- a/src/gui/buysell.cpp
+++ b/src/gui/buysell.cpp
@@ -49,7 +49,6 @@ BuySellDialog::BuySellDialog(Network *network):
buyButton->requestFocus();
setContentSize(x, 2 * y + buyButton->getHeight());
- setLocationRelativeTo(getParent());
requestFocus();
}