We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4d45b6 commit 948520bCopy full SHA for 948520b
src/qt/bitcoingui.cpp
@@ -399,10 +399,7 @@ void BitcoinGUI::createActions()
399
for (const std::pair<const std::string, bool>& i : m_wallet_controller->listWalletDir()) {
400
const std::string& path = i.first;
401
QString name = path.empty() ? QString("["+tr("default wallet")+"]") : QString::fromStdString(path);
402
- // Menu items remove single &. Single & are shown when && is in
403
- // the string, but only the first occurrence. So replace only
404
- // the first & with &&.
405
- name.replace(name.indexOf(QChar('&')), 1, QString("&&"));
+ name.replace(QChar('&'), QString("&&"));
406
QAction* action = m_open_wallet_menu->addAction(name);
407
408
if (i.second) {
0 commit comments