summaryrefslogtreecommitdiff
path: root/src/gui/npclistdialog.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/npclistdialog.cpp
parentcf49b996e41f6e28aa67fb2d6891c1b28e65d520 (diff)
downloadmana-client-343d290f639646b9a3a90c9402dfc8e76989bdcb.tar.gz
mana-client-343d290f639646b9a3a90c9402dfc8e76989bdcb.tar.bz2
mana-client-343d290f639646b9a3a90c9402dfc8e76989bdcb.tar.xz
mana-client-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/npclistdialog.cpp')
-rw-r--r--src/gui/npclistdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/npclistdialog.cpp b/src/gui/npclistdialog.cpp
index 66c2d9a0..c1493afd 100644
--- a/src/gui/npclistdialog.cpp
+++ b/src/gui/npclistdialog.cpp
@@ -42,6 +42,7 @@ extern NpcTextDialog *npcTextDialog;
NpcListDialog::NpcListDialog(Network *network):
Window(_("NPC")), mNetwork(network)
{
+ setWindowName("NPCList");
setResizable(true);
setMinWidth(200);
@@ -69,7 +70,6 @@ NpcListDialog::NpcListDialog(Network *network):
loadWindowState();
resetToDefaultSize();
- setLocationRelativeTo(getParent());
}
int NpcListDialog::getNumberOfElements()