summaryrefslogtreecommitdiff
path: root/client/lua.h
diff options
context:
space:
mode:
authordeva <deva>2010-08-13 10:07:22 +0000
committerdeva <deva>2010-08-13 10:07:22 +0000
commit51122d8689f6fbb1061ee0b19f885ad8851dfd50 (patch)
treec0513a8df0eda183226909fccc8b38e3f6e79185 /client/lua.h
parentc4ecebb7a1f33acb38d51a82788b071186ff3c19 (diff)
Clear lua when reopening a macro window.
Diffstat (limited to 'client/lua.h')
-rw-r--r--client/lua.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/lua.h b/client/lua.h
index d10aeb2..d94bd15 100644
--- a/client/lua.h
+++ b/client/lua.h
@@ -47,6 +47,8 @@ public:
Widget *getWidget(QString name);
+ void clear();
+
private:
lua_State *L;
Widget **rootwidget;