summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/QtXMLConsoleWidget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swift/QtUI/QtXMLConsoleWidget.cpp b/Swift/QtUI/QtXMLConsoleWidget.cpp
index 8e65718..00f9d3b 100644
--- a/Swift/QtUI/QtXMLConsoleWidget.cpp
+++ b/Swift/QtUI/QtXMLConsoleWidget.cpp
@@ -45,10 +45,14 @@ QtXMLConsoleWidget::QtXMLConsoleWidget() {
QPushButton* clearButton = new QPushButton("Clear", bottom);
connect(clearButton, SIGNAL(clicked()), textEdit, SLOT(clear()));
buttonLayout->addWidget(clearButton);
+
+ setWindowTitle("Debug Console");
+ emit titleUpdated();
}
void QtXMLConsoleWidget::showEvent(QShowEvent* event) {
emit windowOpening();
+ emit titleUpdated(); /* This just needs to be somewhere after construction */
QWidget::showEvent(event);
}