summaryrefslogtreecommitdiff
path: root/src/gui/npc_text.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/npc_text.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/npc_text.cpp')
-rw-r--r--src/gui/npc_text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/npc_text.cpp b/src/gui/npc_text.cpp
index 61f3e510..53c64a54 100644
--- a/src/gui/npc_text.cpp
+++ b/src/gui/npc_text.cpp
@@ -37,6 +37,7 @@ NpcTextDialog::NpcTextDialog(Network *network):
Window(_("NPC")), mNetwork(network),
mState(NPC_TEXT_STATE_WAITING)
{
+ setWindowName("NPCText");
setResizable(true);
setMinWidth(200);
@@ -61,7 +62,6 @@ NpcTextDialog::NpcTextDialog(Network *network):
layout.setRowHeight(0, Layout::AUTO_SET);
loadWindowState();
- setLocationRelativeTo(getParent());
}
void NpcTextDialog::clearText()