parent
a0f15780b5
commit
178e2296ea
|
@ -49,8 +49,10 @@ ExportPreviewWidget::ExportPreviewWidget(Document *document, QWidget *parent) :
|
||||||
connect(m_saveButton, &QPushButton::clicked, this, [=]() {
|
connect(m_saveButton, &QPushButton::clicked, this, [=]() {
|
||||||
auto currentIndex = exportFormatSelectBox->currentIndex();
|
auto currentIndex = exportFormatSelectBox->currentIndex();
|
||||||
if (0 == currentIndex) {
|
if (0 == currentIndex) {
|
||||||
|
this->hide();
|
||||||
emit saveAsGlb();
|
emit saveAsGlb();
|
||||||
} else if (1 == currentIndex) {
|
} else if (1 == currentIndex) {
|
||||||
|
this->hide();
|
||||||
emit saveAsFbx();
|
emit saveAsFbx();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue