diff options
Diffstat (limited to 'server/src/widgetgenerator.cc')
-rw-r--r-- | server/src/widgetgenerator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/widgetgenerator.cc b/server/src/widgetgenerator.cc index b7d6ac3..f8f3790 100644 --- a/server/src/widgetgenerator.cc +++ b/server/src/widgetgenerator.cc @@ -192,9 +192,9 @@ static void get_fields(Widget &widget, Fieldnames &fields) std::string widgetgenerator(std::string cpr, Macro ¯o, LUAQueryMapper &mapper, Database &db) { Fieldnames fields; - get_fields(macro.window, fields); + get_fields(macro.widgets, fields); Values values = db.getValues(cpr, fields); - return send_macro_widget(macro, macro.window, " ", mapper, values); + return send_macro_widget(macro, macro.widgets, " ", mapper, values); } |