History: copy amount now copies value shown in table

This commit is contained in:
tobtoht 2021-10-21 21:43:46 +02:00
parent 130733ad98
commit e2a21868e9
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C

View file

@ -160,7 +160,7 @@ void HistoryWidget::copy(copyField field) {
case copyField::Date:
return tx->timestamp().toString("yyyy-MM-dd HH:mm");
case copyField::Amount:
return tx->displayAmount();
return WalletManager::displayAmount(tx->balanceDelta());
default:
return QString("");
}