Options tab with savesent checkbox

This commit is contained in:
adityapk00
2018-10-23 20:41:36 -07:00
parent 2b74c459ee
commit 4c58f70a31
8 changed files with 152 additions and 9 deletions

View File

@@ -50,6 +50,10 @@ QList<TransactionItem> SentTxStore::readSentTxFile() {
}
void SentTxStore::addToSentTx(Tx tx, QString txid) {
// Save transactions only if the settings are allowed
if (!Settings::getInstance()->getSaveSent())
return;
QFile data(writeableFile());
QJsonDocument jsonDoc;