From 630810403110547f5f71d258ff12db628d587d83 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sun, 26 May 2013 08:33:13 -0700 Subject: [PATCH] Fix dialog control table loading when there are buttons --- aegisub/src/auto4_lua_dialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/aegisub/src/auto4_lua_dialog.cpp b/aegisub/src/auto4_lua_dialog.cpp index 6b87ea8c3..410497166 100644 --- a/aegisub/src/auto4_lua_dialog.cpp +++ b/aegisub/src/auto4_lua_dialog.cpp @@ -424,6 +424,7 @@ namespace Automation4 { luaL_error(L, "Cannot create config dialog from something non-table"); // Ok, so there is a table with controls + lua_pushvalue(L, 1); lua_for_each(L, [&] { if (!lua_istable(L, -1)) luaL_error(L, "bad control table entry");