mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
scripted-diff: Rename ShowModalDialogAndDeleteOnClose
-BEGIN VERIFY SCRIPT- sed -i 's/ShowModalDialogAndDeleteOnClose/ShowModalDialogAsynchronously/' -- $(git grep -l -e "ShowModalDialogAndDeleteOnClose") -END VERIFY SCRIPT- It is important to highlight that a modal dialog is showed asynchronously as there are cases when the synchronous QDialog::exec() is required.
This commit is contained in:
@@ -189,7 +189,7 @@ void AddressBookPage::onEditAction()
|
||||
dlg->setModel(model);
|
||||
QModelIndex origIndex = proxyModel->mapToSource(indexes.at(0));
|
||||
dlg->loadRow(origIndex.row());
|
||||
GUIUtil::ShowModalDialogAndDeleteOnClose(dlg);
|
||||
GUIUtil::ShowModalDialogAsynchronously(dlg);
|
||||
}
|
||||
|
||||
void AddressBookPage::on_newAddress_clicked()
|
||||
|
||||
Reference in New Issue
Block a user