aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-10-11 14:29:44 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-10-11 14:30:20 +0000
commitbba5baec37636912a4ac25abaf41aa3abe79b11c (patch)
treeb102f304edbafd3f0923295ddacbf4b89b4feac1 /src
parentMerge pull request #5978 (diff)
downloadmonero-bba5baec37636912a4ac25abaf41aa3abe79b11c.tar.xz
simplewallet: don't trigger idle lock right after a foreground refresh
Diffstat (limited to 'src')
-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 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;
}
//----------------------------------------------------------------------------------------------------