Fix return value when deleting an addressbook entry

This commit is contained in:
MaxXor 2018-07-28 07:47:16 -04:00
parent 1107daab98
commit 5e4bc36fc3

View file

@ -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