summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/misc_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index ada8f7227..0ba65a92e 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -1461,6 +1461,7 @@ struct QueryWindow : public Window {
{
switch (widget) {
case QUERY_WIDGET_CAPTION:
+ CopyInDParam(1, this->params, lengthof(this->params));
SetDParam(0, this->caption);
break;