This commit is contained in:
Herwig Birke
2018-05-15 15:55:09 +02:00
parent b69d3619df
commit 11ce84377a
13 changed files with 544 additions and 31 deletions
+2 -1
View File
@@ -64,7 +64,8 @@ void cPartWindow::setPart(cPart* lpPart, cChapterList* lpChapterList)
QStandardItem* lpItem = new QStandardItem(lpChapter->name());
lpItem->setData(QVariant::fromValue(lpChapter));
lpItem->setToolTip(lpChapter->description()->toPlainText());
if(lpChapter->description())
lpItem->setToolTip(lpChapter->description()->toPlainText());
m_lpChapterModel->appendRow(lpItem);
}