]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
History: copy amount now copies value shown in table
authortobtoht <thotbot@protonmail.com>
Thu, 21 Oct 2021 19:43:46 +0000 (21:43 +0200)
committertobtoht <thotbot@protonmail.com>
Thu, 21 Oct 2021 19:43:46 +0000 (21:43 +0200)
src/HistoryWidget.cpp

index e6e66d56497542a1accb780a94fa294185275511..17744704bc81d23b0c44ae297fe1aebda9223fc4 100644 (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("");
         }