mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-11 07:17:53 +00:00
Merge pull request #1680 from Diapolo/add_message_on_blockimport
add splashscreen message when importing blocks via -loadblock
This commit is contained in:
commit
8765d20b1e
@ -715,6 +715,7 @@ bool AppInit2()
|
|||||||
|
|
||||||
if (mapArgs.count("-loadblock"))
|
if (mapArgs.count("-loadblock"))
|
||||||
{
|
{
|
||||||
|
uiInterface.InitMessage(_("Importing blocks..."));
|
||||||
BOOST_FOREACH(string strFile, mapMultiArgs["-loadblock"])
|
BOOST_FOREACH(string strFile, mapMultiArgs["-loadblock"])
|
||||||
{
|
{
|
||||||
FILE *file = fopen(strFile.c_str(), "rb");
|
FILE *file = fopen(strFile.c_str(), "rb");
|
||||||
|
Loading…
Reference in New Issue
Block a user