|
|
@ -14,6 +14,7 @@ TransactionDescDialog::TransactionDescDialog(const QModelIndex &idx, QWidget *pa |
|
|
|
ui(new Ui::TransactionDescDialog) |
|
|
|
ui(new Ui::TransactionDescDialog) |
|
|
|
{ |
|
|
|
{ |
|
|
|
ui->setupUi(this); |
|
|
|
ui->setupUi(this); |
|
|
|
|
|
|
|
setWindowTitle(tr("Details for %1").arg(idx.data(TransactionTableModel::TxIDRole).toString())); |
|
|
|
QString desc = idx.data(TransactionTableModel::LongDescriptionRole).toString(); |
|
|
|
QString desc = idx.data(TransactionTableModel::LongDescriptionRole).toString(); |
|
|
|
ui->detailText->setHtml(desc); |
|
|
|
ui->detailText->setHtml(desc); |
|
|
|
} |
|
|
|
} |
|
|
|