diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-10-11 14:29:44 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-10-11 14:30:20 +0000 |
commit | bba5baec37636912a4ac25abaf41aa3abe79b11c (patch) | |
tree | b102f304edbafd3f0923295ddacbf4b89b4feac1 /src | |
parent | Merge pull request #5978 (diff) | |
download | monero-bba5baec37636912a4ac25abaf41aa3abe79b11c.tar.xz |
simplewallet: don't trigger idle lock right after a foreground refresh
Diffstat (limited to 'src')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index f07d142fb..c61a9b127 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -5311,6 +5311,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; } //---------------------------------------------------------------------------------------------------- |