Fix ZEC double precision display, add validations
This commit is contained in:
@@ -53,7 +53,7 @@ void TxTableModel::setNewData(QList<TransactionItem>* data) {
|
||||
case 0: return modeldata->at(index.row()).type;
|
||||
case 1: return modeldata->at(index.row()).address;
|
||||
case 2: return modeldata->at(index.row()).datetime;
|
||||
case 3: return QVariant(QString::number(modeldata->at(index.row()).amount, 'f') % " ZEC");
|
||||
case 3: return QVariant(QString::number(modeldata->at(index.row()).amount, 'g', 8) % " ZEC");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user