Skip to content

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

C

fix save task crash (#1441)

shun-iwasawa0763022322d6
diff --git a/toonz/sources/toonz/batches.cpp b/toonz/sources/toonz/batches.cpp
index 2931947af..ea408040e 100644
--- a/toonz/sources/toonz/batches.cpp
+++ b/toonz/sources/toonz/batches.cpp
@@ -878,7 +878,7 @@ void BatchesController::saveas() {
}
void BatchesController::save() {
- if (getListName() == "Tasks" || getListName() == "Tasks*")
+ if (m_filepath.isEmpty())
saveas();
else
doSave();