summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcselldialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/npcselldialog.cpp')
-rw-r--r--src/gui/windows/npcselldialog.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/windows/npcselldialog.cpp b/src/gui/windows/npcselldialog.cpp
index 24627f044..f212bb595 100644
--- a/src/gui/windows/npcselldialog.cpp
+++ b/src/gui/windows/npcselldialog.cpp
@@ -33,6 +33,7 @@
#include "gui/widgets/shoplistbox.h"
#include "gui/widgets/slider.h"
+#include "net/buysellhandler.h"
#include "net/npchandler.h"
#include "resources/iteminfo.h"
@@ -108,3 +109,9 @@ void NpcSellDialog::sellAction(const ActionEvent &event)
mShopItemList->showPart(scroll);
}
}
+
+void NpcSellDialog::close()
+{
+ buySellHandler->close();
+ Window::close();
+}