qt: Make sure send confirmation dialog uses correct font settings (#3714)

This commit is contained in:
UdjinM6 2020-09-17 14:42:47 +03:00 committed by GitHub
parent 9dd8e2a5a5
commit 6587d10857
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1010,6 +1010,7 @@ SendConfirmationDialog::SendConfirmationDialog(const QString &title, const QStri
QWidget *parent) :
QMessageBox(QMessageBox::Question, title, text, QMessageBox::Yes | QMessageBox::Cancel, parent), secDelay(_secDelay)
{
GUIUtil::updateFonts();
setDefaultButton(QMessageBox::Cancel);
yesButton = button(QMessageBox::Yes);
updateYesButton();