summaryrefslogtreecommitdiff
path: root/server/src/server.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/server.cc')
-rw-r--r--server/src/server.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/src/server.cc b/server/src/server.cc
index 688a310..e4a470e 100644
--- a/server/src/server.cc
+++ b/server/src/server.cc
@@ -55,10 +55,9 @@ static std::string error_box(std::string message)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<pracro version=\"1.0\">\n"
" <course name=\"error\">\n"
- " <macro name=\"error\">\n"
- " <window caption=\"ERROR!\" height=\"300\" layout=\"vbox\" name=\"error\" width=\"480\">\n"
+ " <macro name=\"error\" static=\"true\">\n"
+ " <window caption=\"ERROR!\" layout=\"vbox\" name=\"error\">\n"
" <textedit name=\"errorlabel\" value=\"" + message + "\"/>\n"
- " <button action=\"cancel\" caption=\"Luk\" name=\"cancel\"/>\n"
" </window>\n"
" </macro>\n"
" </course>\n"