mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 06:43:28 +01:00
simplewallet: don't trigger idle lock right after a foreground refresh
This commit is contained in:
parent
d66db18c06
commit
bba5baec37
@ -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;
|
||||
}
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user