mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge 1be529a11b into merged_master (Elements PR #1130)
This commit is contained in:
commit
6478593fbe
1 changed files with 4 additions and 1 deletions
|
|
@ -91,5 +91,8 @@ const NetworkStyle* NetworkStyle::instantiate(const std::string& networkId)
|
|||
}
|
||||
// If it doesn't match any, use regtest since it's a custom chain
|
||||
assert(networkId != "regtest");
|
||||
return instantiate("regtest");
|
||||
// but keep the chain name in the title
|
||||
NetworkStyle* instance = const_cast<NetworkStyle*>(instantiate("regtest"));
|
||||
instance->titleAddText = titleAddText.c_str();
|
||||
return instance;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue