mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-16 08:54:30 -05:00
Create m_entryAttachments in EditEntryWidget. Fixes a crash.
This commit is contained in:
parent
3211fee99c
commit
8f79e914f4
1 changed files with 1 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ EditEntryWidget::EditEntryWidget(QWidget* parent)
|
||||||
|
|
||||||
m_attributesModel = new EntryAttributesModel(m_advancedWidget);
|
m_attributesModel = new EntryAttributesModel(m_advancedWidget);
|
||||||
m_advancedUi->attributesView->setModel(m_attributesModel);
|
m_advancedUi->attributesView->setModel(m_attributesModel);
|
||||||
|
m_entryAttachments = new EntryAttachments(this);
|
||||||
|
|
||||||
Q_ASSERT(m_ui->categoryList->model()->rowCount() == m_ui->stackedWidget->count());
|
Q_ASSERT(m_ui->categoryList->model()->rowCount() == m_ui->stackedWidget->count());
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue