Merge pull request #1529

5e4bc36Fix return value when deleting an addressbook entry (MaxXor)
This commit is contained in:
luigi1111 2018-08-02 17:44:37 -05:00
commit f156acda72
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -60,7 +60,7 @@ QVariant AddressBookModel::data(const QModelIndex &index, int role) const
bool AddressBookModel::deleteRow(int row) bool AddressBookModel::deleteRow(int row)
{ {
m_addressBook->deleteRow(row); return m_addressBook->deleteRow(row);
} }
int AddressBookModel::lookupPaymentID(const QString &payment_id) const int AddressBookModel::lookupPaymentID(const QString &payment_id) const