[libcalamaresui] Use translation fix for Error Dialog

This commit is contained in:
Artem Grinev 2021-12-06 02:27:18 +04:00
parent 32c5e18db0
commit bfa7b9a792

View File

@ -3,6 +3,7 @@
#include <QIcon>
#include <QDialogButtonBox>
#include "widgets/TranslationFix.h"
namespace Calamares {
@ -82,6 +83,7 @@ void ErrorDialog::setShouldOfferWebPaste(bool newShouldOfferWebPaste)
? (QDialogButtonBox::Yes | QDialogButtonBox::No)
: QDialogButtonBox::Close );
fixButtonLabels(ui->buttonBox);
emit shouldOfferWebPasteChanged();
}