diff options
Diffstat (limited to 'gui/include/addresstablemodel.h')
-rw-r--r-- | gui/include/addresstablemodel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/include/addresstablemodel.h b/gui/include/addresstablemodel.h index 1890260971..8799414334 100644 --- a/gui/include/addresstablemodel.h +++ b/gui/include/addresstablemodel.h @@ -35,9 +35,9 @@ public: bool removeRows(int row, int count, const QModelIndex & parent = QModelIndex()); /* Add an address to the model. - Returns true on success, false otherwise. + Returns the added address on success, and an empty string otherwise. */ - bool addRow(const QString &type, const QString &label, const QString &address); + QString addRow(const QString &type, const QString &label, const QString &address); /* Update address list from core. Invalidates any indices. */ |