Hide regenerate button on export widget

There is no need to regenerate as the result mostly is the same
master
Jeremy Hu 2019-12-22 13:30:10 +09:30
parent d185f7e07a
commit e394e3fa2a
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ ExportPreviewWidget::ExportPreviewWidget(Document *document, QWidget *parent) :
//QPushButton *regenerateButton = new QPushButton(QChar(fa::recycle));
//initAwesomeButton(regenerateButton);
QPushButton *regenerateButton = new QPushButton(tr("Regenerate"));
regenerateButton->hide();
connect(this, &ExportPreviewWidget::regenerate, this, &ExportPreviewWidget::checkSpinner);
connect(regenerateButton, &QPushButton::clicked, this, &ExportPreviewWidget::regenerate);