From 0b788892898013cd430c48b98e21a3fd111c3c7f Mon Sep 17 00:00:00 2001 From: Novatux Date: Sat, 26 Oct 2013 09:56:38 +0200 Subject: Send a on_receive_fields event when formspec is closed, with fields.quit = "true" --- src/guiFormSpecMenu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/guiFormSpecMenu.h') diff --git a/src/guiFormSpecMenu.h b/src/guiFormSpecMenu.h index c244e458f..20ab52e8b 100644 --- a/src/guiFormSpecMenu.h +++ b/src/guiFormSpecMenu.h @@ -227,7 +227,7 @@ public: void updateSelectedItem(); ItemStack verifySelectedItem(); - void acceptInput(); + void acceptInput(bool quit); bool preprocessEvent(const SEvent& event); bool OnEvent(const SEvent& event); -- cgit v1.2.3