From 58d4a0208b1f82039689c5a110115fad194b7e6a Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Thu, 29 Dec 2011 19:04:25 +0100 Subject: Fix crash when editing an entry. --- src/gui/DatabaseWidget.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/gui/DatabaseWidget.cpp b/src/gui/DatabaseWidget.cpp index e7f34f907..e81508596 100644 --- a/src/gui/DatabaseWidget.cpp +++ b/src/gui/DatabaseWidget.cpp @@ -28,6 +28,7 @@ DatabaseWidget::DatabaseWidget(Database* db, QWidget* parent) : QStackedWidget(parent) , m_newGroup(0) + , m_newEntry(0) , m_newParent(0) { m_mainWidget = new QWidget(this); -- cgit v1.2.3