summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/dialogsmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/dialogsmanager.cpp b/src/gui/dialogsmanager.cpp
index 1f5a95c1b..f415e2cd2 100644
--- a/src/gui/dialogsmanager.cpp
+++ b/src/gui/dialogsmanager.cpp
@@ -78,7 +78,7 @@ void DialogsManager::closeDialogs()
NpcDialog::closeAll();
SellDialog::closeAll();
if (inventoryHandler)
- inventoryHandler->closeStorage();
+ inventoryHandler->destroyStorage();
if (deathNotice)
{
deathNotice->scheduleDelete();