summaryrefslogtreecommitdiff
path: root/client/mainwindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/mainwindow.cc')
-rw-r--r--client/mainwindow.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mainwindow.cc b/client/mainwindow.cc
index 06207a5..50ca8a9 100644
--- a/client/mainwindow.cc
+++ b/client/mainwindow.cc
@@ -82,7 +82,7 @@ void MainWindow::update()
if(macros.find(macroname) == macros.end()) {
macros[macroname] = new MacroWindow(netcom, macronode, course);
- QGroupBox *g = new QGroupBox(" " + macroname);
+ QGroupBox *g = new QGroupBox(" " + xml_elem.attribute("caption", macroname));
g->setCheckable(false);
g->setChecked(false);