Commit 2f83b9e8 authored by Ralf Habacker's avatar Ralf Habacker

Fix similar bug with documentation dock widget on item selection.

CCBUG:352740
parent c0b2a9e4
......@@ -91,6 +91,7 @@ DocWindow::DocWindow(UMLDoc * doc, QWidget *parent)
statusLayout->addWidget(m_modifiedWidget, 0, 5, 1, 1);
m_docTE = new KTextEdit(this);
m_docTE->setText(QString());
setFocusProxy(m_docTE);
//m_docTE->setWordWrapMode(QTextEdit::WidgetWidth);
QVBoxLayout* docLayout = new QVBoxLayout(this);
docLayout->addLayout(statusLayout);
......@@ -461,5 +462,6 @@ void DocWindow::toForeground()
tab->setCurrentIndex(i);
}
}
m_docTE->setFocus();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment