merge
This commit is contained in:
@@ -387,13 +387,11 @@ void Controller::refreshTransactions() {
|
||||
address = (it["address"].is_null() ? "" : QString::fromStdString(it["address"]));
|
||||
model->markAddressUsed(address);
|
||||
|
||||
QString memo;
|
||||
QString memo;
|
||||
if (!it["memo"].is_null()) {
|
||||
memo = QString::fromStdString(it["memo"]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
items.push_back(TransactionItemDetail{
|
||||
address,
|
||||
CAmount::fromqint64(it["amount"].get<json::number_integer_t>()),
|
||||
|
||||
@@ -679,8 +679,6 @@ void MainWindow::sendButton() {
|
||||
}
|
||||
|
||||
QString MainWindow::doSendTxValidations(Tx tx) {
|
||||
|
||||
|
||||
for (auto toAddr : tx.toAddrs) {
|
||||
if (!Settings::isValidAddress(toAddr.addr)) {
|
||||
QString addr = (toAddr.addr.length() > 100 ? toAddr.addr.left(100) + "..." : toAddr.addr);
|
||||
|
||||
@@ -150,14 +150,14 @@ bool TxTableModel::exportToCsv(QString fileName) const {
|
||||
}
|
||||
}
|
||||
|
||||
if (role == Qt::DecorationRole && index.column() == 0) {
|
||||
if (role == Qt::DecorationRole && index.column() == 0) {
|
||||
bool hasMemo = false;
|
||||
for (int i=0; i < dat.items.length(); i++) {
|
||||
if (!dat.items[i].memo.isEmpty()) {
|
||||
hasMemo = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// If the memo is a Payment URI, then show a payment request icon
|
||||
if (dat.items.length() == 1 && dat.items[0].memo.startsWith("hush:")) {
|
||||
QIcon icon(":/icons/res/paymentreq.gif");
|
||||
|
||||
@@ -1 +1 @@
|
||||
#define APP_VERSION "0.7.9"
|
||||
#define APP_VERSION "1.0-beta1"
|
||||
|
||||
Reference in New Issue
Block a user