Bugfix: GUI: Receive: Don't try to update label for non-existent Amount column

Fixes: https://github.com/greenaddress/elements/issues/3
This commit is contained in:
Luke Dashjr 2019-02-22 21:44:13 +00:00 committed by Gregory Sanders
parent bbb5a4cc3f
commit 954f7758ae

View file

@ -115,8 +115,6 @@ QVariant RecentRequestsTableModel::headerData(int section, Qt::Orientation orien
/** Updates the column title to "Amount (DisplayUnit)" and emits headerDataChanged() signal for table headers to react. */
void RecentRequestsTableModel::updateAmountColumnTitle()
{
columns[Amount] = getAmountTitle();
Q_EMIT headerDataChanged(Qt::Horizontal,Amount,Amount);
}
/** Gets title for amount column including current display unit if optionsModel reference available. */