diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-02-16 18:52:54 +0000 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-02-16 18:52:54 +0000 |
commit | 26a52e8f74306b6e13e7a2029c19d8c7e1efd23a (patch) | |
tree | e239a4842ba2dd02cbd9a50e5a040783b40e9ca7 /src/net | |
parent | e1b66a9d88b43cee01ad15226c14fa6880fcbd04 (diff) | |
download | mana-client-26a52e8f74306b6e13e7a2029c19d8c7e1efd23a.tar.gz mana-client-26a52e8f74306b6e13e7a2029c19d8c7e1efd23a.tar.bz2 mana-client-26a52e8f74306b6e13e7a2029c19d8c7e1efd23a.tar.xz mana-client-26a52e8f74306b6e13e7a2029c19d8c7e1efd23a.zip |
Allow setting default values for NPC dialogs
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/npchandler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/npchandler.cpp b/src/net/npchandler.cpp index 3080bcf8..a6dc216b 100644 --- a/src/net/npchandler.cpp +++ b/src/net/npchandler.cpp @@ -94,6 +94,7 @@ void NPCHandler::handleMessage(MessageIn *msg) id = msg->readInt32(); current_npc = dynamic_cast<NPC*>(beingManager->findBeing(id)); npcIntegerDialog->setRange(0, 2147483647); + npcIntegerDialog->setDefaultValue(0); npcIntegerDialog->setVisible(true); npcIntegerDialog->requestFocus(); break; |