mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
qt, refactor: Keep CoinControlDialog in the main event loop
This commit is contained in:
parent
7830cd0b35
commit
59f7ba4fd7
1 changed files with 3 additions and 3 deletions
|
@ -914,9 +914,9 @@ void SendCoinsDialog::coinControlFeatureChanged(bool checked)
|
|||
// Coin Control: button inputs -> show actual coin control dialog
|
||||
void SendCoinsDialog::coinControlButtonClicked()
|
||||
{
|
||||
CoinControlDialog dlg(*m_coin_control, model, platformStyle);
|
||||
dlg.exec();
|
||||
coinControlUpdateLabels();
|
||||
auto dlg = new CoinControlDialog(*m_coin_control, model, platformStyle);
|
||||
connect(dlg, &QDialog::finished, this, &SendCoinsDialog::coinControlUpdateLabels);
|
||||
GUIUtil::ShowModalDialogAndDeleteOnClose(dlg);
|
||||
}
|
||||
|
||||
// Coin Control: checkbox custom change address
|
||||
|
|
Loading…
Reference in a new issue