Browse Source

Fix bug where history wasn't getting cleared

recurring
adityapk00 6 years ago
parent
commit
3bb26ce9a9
  1. 7
      src/rpc.cpp

7
src/rpc.cpp

@ -743,6 +743,13 @@ void RPC::refreshSentZTrans() {
auto sentZTxs = SentTxStore::readSentTxFile();
// If there are no sent z txs, then empty the table.
// This happens when you clear history.
if (sentZTxs.isEmpty()) {
transactionsTableModel->addZSentData(sentZTxs);
return;
}
QList<QString> txids;
for (auto sentTx: sentZTxs) {

Loading…
Cancel
Save