aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-10-22 10:19:35 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-10-22 10:19:35 -0500
commit8a88d9186a44724756dfaf6b20f81c59e24cdd87 (patch)
tree6c90a7d6df5410be84a6ac06d6ecf7eb54382f2a /src
parentMerge pull request #5981 (diff)
parentsimplewallet: don't trigger idle lock right after a foreground refresh (diff)
downloadmonero-8a88d9186a44724756dfaf6b20f81c59e24cdd87.tar.xz
Merge pull request #5982
bba5bae implewallet: don't trigger idle lock right after a foreground refresh (moneromooo-monero)
Diffstat (limited to '')
-rw-r--r--src/simplewallet/simplewallet.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 43fd99304..7ef824179 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -5334,6 +5334,9 @@ bool simple_wallet::refresh_main(uint64_t start_height, enum ResetType reset, bo
fail_msg_writer() << tr("refresh failed: ") << ss.str() << ". " << tr("Blocks received: ") << fetched_blocks;
}
+ // prevent it from triggering the idle screen due to waiting for a foreground refresh
+ m_last_activity_time = time(NULL);
+
return true;
}
//----------------------------------------------------------------------------------------------------