aboutsummaryrefslogtreecommitdiff
path: root/src/events/PermissionRequestedEvent.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/events/PermissionRequestedEvent.hpp')
-rw-r--r--src/events/PermissionRequestedEvent.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/events/PermissionRequestedEvent.hpp b/src/events/PermissionRequestedEvent.hpp
index ec03ea5..f6c102a 100644
--- a/src/events/PermissionRequestedEvent.hpp
+++ b/src/events/PermissionRequestedEvent.hpp
@@ -40,8 +40,7 @@ public:
}
void lua_push(lua_State *state) const override {
- lua_newtable(state);
- SET_FIELD("type", string, kind.toStdString().c_str())
+ Event::lua_push(state);
SET_FIELD("permission_type", string, permission_type())
SET_FIELD("view_id", integer, webview_id)
SET_FIELD("win_id", integer, win_id)