Create m_entryAttachments in EditEntryWidget. Fixes a crash.

This commit is contained in:
Felix Geyer 2012-04-14 18:45:32 +02:00
parent 3211fee99c
commit 8f79e914f4

View File

@ -66,6 +66,7 @@ EditEntryWidget::EditEntryWidget(QWidget* parent)
m_attributesModel = new EntryAttributesModel(m_advancedWidget);
m_advancedUi->attributesView->setModel(m_attributesModel);
m_entryAttachments = new EntryAttachments(this);
Q_ASSERT(m_ui->categoryList->model()->rowCount() == m_ui->stackedWidget->count());