summaryrefslogtreecommitdiff
path: root/src/gui/npclistdialog.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-02-25 10:29:34 -0700
committerIra Rice <irarice@gmail.com>2009-02-25 10:29:34 -0700
commit543166b9d50ebf06bfc83a32fb2bab3b366eb871 (patch)
treee50f86ef77cad8a5e2801b1aaba33632f5e215ef /src/gui/npclistdialog.cpp
parent0aaf301660a504d94f758ac8a4d50dc33c189fa7 (diff)
downloadmana-client-543166b9d50ebf06bfc83a32fb2bab3b366eb871.tar.gz
mana-client-543166b9d50ebf06bfc83a32fb2bab3b366eb871.tar.bz2
mana-client-543166b9d50ebf06bfc83a32fb2bab3b366eb871.tar.xz
mana-client-543166b9d50ebf06bfc83a32fb2bab3b366eb871.zip
Make sure that all dialogs are cleared on player death, not just the NPC
text dialog. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/npclistdialog.cpp')
-rw-r--r--src/gui/npclistdialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/npclistdialog.cpp b/src/gui/npclistdialog.cpp
index f3bb949a..2c4dfc04 100644
--- a/src/gui/npclistdialog.cpp
+++ b/src/gui/npclistdialog.cpp
@@ -86,6 +86,7 @@ void NpcListDialog::parseItems(const std::string &itemString)
void NpcListDialog::reset()
{
+ mItemList->setSelected(-1);
mItems.clear();
}