summaryrefslogtreecommitdiff
path: root/src/actionmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actionmanager.cpp')
-rw-r--r--src/actionmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp
index 1c7dbce14..4b6d80981 100644
--- a/src/actionmanager.cpp
+++ b/src/actionmanager.cpp
@@ -234,12 +234,12 @@ impHandler0(ok)
// Close the config window, cancelling changes if opened
else if (setupWindow && setupWindow->isWindowVisible())
{
- setupWindow->action(gcn::ActionEvent(nullptr, "cancel"));
+ setupWindow->action(ActionEvent(nullptr, "cancel"));
return true;
}
else if (NpcDialog *const dialog = NpcDialog::getActive())
{
- dialog->action(gcn::ActionEvent(nullptr, "ok"));
+ dialog->action(ActionEvent(nullptr, "ok"));
return true;
}
return false;