aboutsummaryrefslogtreecommitdiffstats
path: root/textedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'textedit.cpp')
-rw-r--r--textedit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/textedit.cpp b/textedit.cpp
index 22473aa..ca2a904 100644
--- a/textedit.cpp
+++ b/textedit.cpp
@@ -68,6 +68,7 @@ void TextEdit::slotNewHelpTab(QString title, QString path)
void TextEdit::slotNewQMLTab(QString title, KgpgCore::KgpgKey key) {
QMLPage *page = new QMLPage(key);
+ // todo: should parent also be given?
tabWidget->addTab(page, title);
tabWidget->setCurrentIndex(tabWidget->count() - 1);
}