We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aadadf7 + 1be529a commit 6478593Copy full SHA for 6478593
1 file changed
src/qt/networkstyle.cpp
@@ -91,5 +91,8 @@ const NetworkStyle* NetworkStyle::instantiate(const std::string& networkId)
91
}
92
// If it doesn't match any, use regtest since it's a custom chain
93
assert(networkId != "regtest");
94
- return instantiate("regtest");
+ // but keep the chain name in the title
95
+ NetworkStyle* instance = const_cast<NetworkStyle*>(instantiate("regtest"));
96
+ instance->titleAddText = titleAddText.c_str();
97
+ return instance;
98
0 commit comments