From 543166b9d50ebf06bfc83a32fb2bab3b366eb871 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Wed, 25 Feb 2009 10:29:34 -0700 Subject: Make sure that all dialogs are cleared on player death, not just the NPC text dialog. Signed-off-by: Ira Rice --- src/gui/npclistdialog.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/npclistdialog.cpp') 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(); } -- cgit v1.2.3-70-g09d2