Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

fix export xsheet pdf

shun-iwasawab9763d26444f
diff --git a/toonz/sources/toonz/exportxsheetpdf.cpp b/toonz/sources/toonz/exportxsheetpdf.cpp
index d19d23c03..7290b6b4a 100644
--- a/toonz/sources/toonz/exportxsheetpdf.cpp
+++ b/toonz/sources/toonz/exportxsheetpdf.cpp
@@ -2169,7 +2169,7 @@ void ExportXsheetPdfPopup::updatePreview() {
void ExportXsheetPdfPopup::onExport() {
ToonzScene* scene = TApp::instance()->getCurrentScene()->getScene();
- if (m_sceneNameEdit->text().isEmpty()) {
+ if (m_fileNameFld->text().isEmpty()) {
DVGui::MsgBoxInPopup(DVGui::WARNING, tr("Please specify the file name."));
return;
}
@@ -2239,7 +2239,7 @@ void ExportXsheetPdfPopup::onExport() {
void ExportXsheetPdfPopup::onExportPNG() {
ToonzScene* scene = TApp::instance()->getCurrentScene()->getScene();
- if (m_sceneNameEdit->text().isEmpty()) {
+ if (m_fileNameFld->text().isEmpty()) {
DVGui::MsgBoxInPopup(DVGui::WARNING, tr("Please specify the file name."));
return;
}