summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/popupmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index fae3c7251..4ae0966da 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -1814,7 +1814,7 @@ void PopupMenu::showPopup(Window *const parent,
{
NpcDialog *const dialog = npcHandler->getCurrentNpcDialog();
if (dialog &&
- dialog->getInputState() == NpcDialog::NPC_INPUT_ITEM_CRAFT)
+ dialog->getInputState() == NpcInputState::ITEM_CRAFT)
{
mBrowserBox->addRow("craftmenu",
// TRANSLATORS: popup menu item