Hide regenerate button on export widget
There is no need to regenerate as the result mostly is the samemaster
parent
d185f7e07a
commit
e394e3fa2a
|
@ -36,6 +36,7 @@ ExportPreviewWidget::ExportPreviewWidget(Document *document, QWidget *parent) :
|
||||||
//QPushButton *regenerateButton = new QPushButton(QChar(fa::recycle));
|
//QPushButton *regenerateButton = new QPushButton(QChar(fa::recycle));
|
||||||
//initAwesomeButton(regenerateButton);
|
//initAwesomeButton(regenerateButton);
|
||||||
QPushButton *regenerateButton = new QPushButton(tr("Regenerate"));
|
QPushButton *regenerateButton = new QPushButton(tr("Regenerate"));
|
||||||
|
regenerateButton->hide();
|
||||||
connect(this, &ExportPreviewWidget::regenerate, this, &ExportPreviewWidget::checkSpinner);
|
connect(this, &ExportPreviewWidget::regenerate, this, &ExportPreviewWidget::checkSpinner);
|
||||||
connect(regenerateButton, &QPushButton::clicked, this, &ExportPreviewWidget::regenerate);
|
connect(regenerateButton, &QPushButton::clicked, this, &ExportPreviewWidget::regenerate);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue