mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
fix: use && in governance urls instead &
This commit is contained in:
parent
1e585b1987
commit
c36bb8e6fb
@ -387,8 +387,11 @@ void GovernanceList::showProposalContextMenu(const QPoint& pos)
|
||||
return;
|
||||
}
|
||||
|
||||
QString proposal_url = proposal->url();
|
||||
proposal_url.replace(QChar('&'), QString("&&"));
|
||||
|
||||
// right click menu with option to open proposal url
|
||||
QAction* openProposalUrl = new QAction(proposal->url(), this);
|
||||
QAction* openProposalUrl = new QAction(proposal_url, this);
|
||||
proposalContextMenu->clear();
|
||||
proposalContextMenu->addAction(openProposalUrl);
|
||||
connect(openProposalUrl, &QAction::triggered, proposal, &Proposal::openUrl);
|
||||
|
Loading…
Reference in New Issue
Block a user