From 8c89a597f13437ff3c48c861bb417c4b7496b4d1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 Apr 2016 22:32:35 +0300 Subject: Add missing break. --- src/gui/windows/itemamountwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/windows') diff --git a/src/gui/windows/itemamountwindow.cpp b/src/gui/windows/itemamountwindow.cpp index b36e8ab7b..8f3dea0cd 100644 --- a/src/gui/windows/itemamountwindow.cpp +++ b/src/gui/windows/itemamountwindow.cpp @@ -114,6 +114,7 @@ void ItemAmountWindow::finish(Item *const item, NpcDialog *const dialog = npcHandler->getCurrentNpcDialog(); if (dialog) dialog->addCraftItem(item, amount, price); // price as slot + break; } #endif default: -- cgit v1.2.3-70-g09d2