From 5e4bc36fc3619de56f82797e6b4860d61ec73a2a Mon Sep 17 00:00:00 2001 From: MaxXor Date: Sat, 28 Jul 2018 07:47:16 -0400 Subject: [PATCH] Fix return value when deleting an addressbook entry --- src/model/AddressBookModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/AddressBookModel.cpp b/src/model/AddressBookModel.cpp index 74b2caf2..6d815122 100644 --- a/src/model/AddressBookModel.cpp +++ b/src/model/AddressBookModel.cpp @@ -60,7 +60,7 @@ QVariant AddressBookModel::data(const QModelIndex &index, int role) const bool AddressBookModel::deleteRow(int row) { - m_addressBook->deleteRow(row); + return m_addressBook->deleteRow(row); } int AddressBookModel::lookupPaymentID(const QString &payment_id) const