Merge pull request #5982

bba5bae implewallet: don't trigger idle lock right after a foreground refresh (moneromooo-monero)
This commit is contained in:
luigi1111 2019-10-22 10:19:35 -05:00
commit 8a88d9186a
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -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; 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; return true;
} }
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------